fix: usercgroups endpoint issue

This commit is contained in:
swve 2024-03-30 23:22:25 +00:00
parent e35487648e
commit c51c04539c

View file

@ -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)