From 95b14d121d0a8d2419746ac5112b6ca78670f5d9 Mon Sep 17 00:00:00 2001 From: Matthew Elwell Date: Tue, 14 May 2024 18:14:57 +0100 Subject: [PATCH] fix: add trailing slash to update group logic (#3943) --- frontend/common/services/useGroup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/common/services/useGroup.ts b/frontend/common/services/useGroup.ts index 46c9f76bf81a..b5b4535d2178 100644 --- a/frontend/common/services/useGroup.ts +++ b/frontend/common/services/useGroup.ts @@ -109,7 +109,7 @@ export const groupService = service const { data, error } = await baseQuery({ body: query.data, method: 'PUT', - url: `organisations/${query.orgId}/groups/${query.data.id}`, + url: `organisations/${query.orgId}/groups/${query.data.id}/`, }) if (error) { return { error }