🚧 CreateUser - add group as object instead of nested array

This commit is contained in:
Philipp Dormann 2020-12-04 19:32:17 +01:00
parent d4753a02d4
commit a7cf86eae4
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ export class CreateUser {
if (found.length === 0) {
errors++
} else {
foundgroups.push(found)
foundgroups.push(found[0])
}
}
newUser.groups = foundgroups