🚧 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) {
|
if (found.length === 0) {
|
||||||
errors++
|
errors++
|
||||||
} else {
|
} else {
|
||||||
foundgroups.push(found)
|
foundgroups.push(found[0])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
newUser.groups = foundgroups
|
newUser.groups = foundgroups
|
||||||
|
Loading…
x
Reference in New Issue
Block a user