From fbb6f8cd78770cd292e702d584a66472244905a7 Mon Sep 17 00:00:00 2001 From: David Lyon Date: Wed, 28 Feb 2024 12:54:50 -0800 Subject: [PATCH] fix exportSelection url --- src/common/api/collectionsApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/api/collectionsApi.ts b/src/common/api/collectionsApi.ts index 056dc285..ab74364d 100644 --- a/src/common/api/collectionsApi.ts +++ b/src/common/api/collectionsApi.ts @@ -609,7 +609,7 @@ export const collectionsApi = baseApi.injectEndpoints({ query: ({ selection_id, workspace_id, object_name, ws_type, ...body }) => collectionsService({ method: 'POST', - url: encode`/selections/${selection_id}/toSet/${workspace_id}/obj/${object_name}/type/${ws_type}`, + url: encode`/selections/${selection_id}/toset/${workspace_id}/obj/${object_name}/type/${ws_type}`, body: body, headers: { authorization: `Bearer ${store.getState().auth.token}`,