Fix edition of groups with groups
This commit is contained in:
parent
4b2c16998c
commit
e754c660ee
|
@ -35,7 +35,9 @@ export function createGroupsStore() {
|
|||
get: getGroup,
|
||||
|
||||
save: async group => {
|
||||
const { scimInfo: _, ...dataToSave } = group
|
||||
const { ...dataToSave } = group
|
||||
delete dataToSave.scimInfo
|
||||
delete dataToSave.userGroups
|
||||
const response = await API.saveGroup(dataToSave)
|
||||
group._id = response._id
|
||||
group._rev = response._rev
|
||||
|
|
Loading…
Reference in New Issue