From c51c04539c02aa82ae7d58d029d9679f11ccd155 Mon Sep 17 00:00:00 2001 From: swve Date: Sat, 30 Mar 2024 23:22:25 +0000 Subject: [PATCH] fix: usercgroups endpoint issue --- apps/web/services/usergroups/usergroups.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/services/usergroups/usergroups.ts b/apps/web/services/usergroups/usergroups.ts index 9bd42ce0..c4eaa599 100644 --- a/apps/web/services/usergroups/usergroups.ts +++ b/apps/web/services/usergroups/usergroups.ts @@ -12,7 +12,7 @@ export async function getUserGroups(org_id: any) { export async function createUserGroup(body: any) { const result: any = await fetch( - `${getAPIUrl()}usergroups`, + `${getAPIUrl()}usergroups/`, RequestBody('POST', body, null) ) const res = await getResponseMetadata(result)