diff --git a/invokeai/frontend/web/src/services/api/endpoints/models.ts b/invokeai/frontend/web/src/services/api/endpoints/models.ts index c53b19b16e..ee10630f1f 100644 --- a/invokeai/frontend/web/src/services/api/endpoints/models.ts +++ b/invokeai/frontend/web/src/services/api/endpoints/models.ts @@ -61,7 +61,7 @@ type ImportMainModelArg = { }; type ImportMainModelResponse = - paths['/api/v2/models/import']['post']['responses']['201']['content']['application/json']; + paths['/api/v2/models/heuristic_import']['post']['responses']['201']['content']['application/json']; type ListImportModelsResponse = paths['/api/v2/models/import']['get']['responses']['200']['content']['application/json'];