From f2744fd7d18265a6c98f4e687a5114592cc3b5c8 Mon Sep 17 00:00:00 2001 From: Mary Hipp Rogers Date: Wed, 6 Mar 2024 12:46:16 -0500 Subject: [PATCH] fix URL for get image workflow (#5882) Co-authored-by: Mary Hipp --- invokeai/frontend/web/src/services/api/endpoints/images.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/services/api/endpoints/images.ts b/invokeai/frontend/web/src/services/api/endpoints/images.ts index 9756b4f611..ecb65f31b1 100644 --- a/invokeai/frontend/web/src/services/api/endpoints/images.ts +++ b/invokeai/frontend/web/src/services/api/endpoints/images.ts @@ -125,7 +125,7 @@ export const imagesApi = api.injectEndpoints({ paths['/api/v1/images/i/{image_name}/workflow']['get']['responses']['200']['content']['application/json'], string >({ - query: (image_name) => ({ url: `images/i/${image_name}/workflow` }), + query: (image_name) => ({ url: buildImagesUrl(`i/${image_name}/workflow`) }), providesTags: (result, error, image_name) => [{ type: 'ImageWorkflow', id: image_name }], keepUnusedDataFor: 86400, // 24 hours }),