Updated the put methods and cleaned up a shitload of comments #42
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user