🚧 CreateUser - add group as object instead of nested array
This commit is contained in:
parent
d4753a02d4
commit
a7cf86eae4
|
@ -49,7 +49,7 @@ export class CreateUser {
|
|||
if (found.length === 0) {
|
||||
errors++
|
||||
} else {
|
||||
foundgroups.push(found)
|
||||
foundgroups.push(found[0])
|
||||
}
|
||||
}
|
||||
newUser.groups = foundgroups
|
||||
|
|
Loading…
Reference in New Issue