Moved usergroups to the new put mechanism

ref #39
This commit is contained in:
niggl committed 2020-12-20 17:37:20 +01:00
1 parent ec4d75128b
commit 18ede29ea5
1 file changed
+1 -1
+1 -1
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;
}