From 793c7ec832e1efecb71347ed9b8b55b03694f376 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sat, 24 Feb 2024 00:17:52 +1100 Subject: [PATCH] fix(ui): fix ImportMainModelResponse type --- invokeai/frontend/web/src/services/api/endpoints/models.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];