Moved usergroups to the new put mechanism

ref #39
This commit is contained in:
Nicolai Ort 2020-12-20 17:37:20 +01:00
parent ec4d75128b
commit 18ede29ea5
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ export class UserGroupController {
throw new UserGroupIdsNotMatchingError();
}
await this.userGroupsRepository.update(oldUserGroup, userGroup);
await this.userGroupsRepository.save(userGroup);
return userGroup;
}