1 parent
e6b9d4f273
commit
3f7b0f6563
19 files changed
+20
-20
No files matched your search
@@ -96,7 +96,7 @@ export class PermissionController {
|
||||
return new ResponsePermission(existingPermission);
|
||||
}
|
||||
|
||||
await this.permissionRepository.save(await permission.updatePermission(oldPermission));
|
||||
await this.permissionRepository.save(await permission.update(oldPermission));
|
||||
|
||||
return new ResponsePermission(await this.permissionRepository.findOne({ id: permission.id }, { relations: ['principal'] }));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user