Updated the put methods and cleaned up a shitload of comments #42
@ -73,7 +73,7 @@ export class UserGroupController {
|
||||
throw new UserGroupIdsNotMatchingError();
|
||||
}
|
||||
|
||||
await this.userGroupsRepository.update(oldUserGroup, userGroup);
|
||||
await this.userGroupsRepository.save(userGroup);
|
||||
return userGroup;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user