Type response
This commit is contained in:
parent
4eaa95fc41
commit
bbd0690518
|
@ -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)
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -21,3 +21,8 @@ export interface GroupUser {
|
|||
export interface UserGroupRoles {
|
||||
[key: string]: string
|
||||
}
|
||||
|
||||
export interface SearchGroupRequest {}
|
||||
export interface SearchGroupResponse {
|
||||
data: UserGroup[]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue