use correct response shape

This commit is contained in:
bymyself
2025-04-14 16:22:45 -07:00
parent dc2a4708f3
commit 05ec65f636
2 changed files with 5 additions and 4 deletions

View File

@@ -251,7 +251,7 @@ export const useComfyManagerService = () => {
const isLegacyManagerUI = async (signal?: AbortSignal) => {
const errorContext = 'Checking if user set Manager to use the legacy UI'
return executeRequest<boolean>(
return executeRequest<{ is_legacy_manager_ui: boolean }>(
() => managerApiClient.get(ManagerRoute.IS_LEGACY_MANAGER_UI, { signal }),
{ errorContext }
)