chore: merge with dev

This commit is contained in:
Chris Holland 2024-10-23 20:06:17 -07:00
parent b678ac86e8
commit 3430cfdb3a
No known key found for this signature in database
GPG key ID: 68B0A864B1B0A0D2
34 changed files with 3515 additions and 2600 deletions

View file

@ -48,6 +48,19 @@ export async function unLinkUserToUserGroup(
return res
}
export async function updateUserGroup(
usergroup_id: number,
access_token: string,
data: any
) {
const result: any = await fetch(
`${getAPIUrl()}usergroups/${usergroup_id}`,
RequestBodyWithAuthHeader('PUT', data, null, access_token)
)
const res = await getResponseMetadata(result)
return res
}
export async function deleteUserGroup(
usergroup_id: number,
access_token: string