1
0
Fork 0
mirror of synced 2024-08-18 11:31:28 +12:00

Type response

This commit is contained in:
Adria Navarro 2023-05-04 12:35:58 +01:00
parent 4eaa95fc41
commit bbd0690518
2 changed files with 6 additions and 1 deletions

View file

@ -28,7 +28,7 @@ export function createGroupsStore() {
// on the backend anyway
if (get(licensing).groupsEnabled) {
const groups = await API.getGroups()
store.set(groups)
store.set(groups.data)
}
},

View file

@ -21,3 +21,8 @@ export interface GroupUser {
export interface UserGroupRoles {
[key: string]: string
}
export interface SearchGroupRequest {}
export interface SearchGroupResponse {
data: UserGroup[]
}