Updated the put methods and cleaned up a shitload of comments #42

Merged
niggl merged 32 commits from feature/39-update_puts into dev 2020-12-21 16:39:21 +00:00
Showing only changes of commit 18ede29ea5 - Show all commits

View File

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