fix api role
This commit is contained in:
parent
543ef19664
commit
ba065b4299
4 changed files with 71 additions and 20 deletions
|
|
@ -188,7 +188,7 @@ export class ProfileAbilityController extends Controller {
|
|||
await this.profileAbilityHistoryRepo.delete({
|
||||
profileAbilityId: abilityId,
|
||||
});
|
||||
|
||||
|
||||
const result = await this.profileAbilityRepo.delete({ id: abilityId });
|
||||
|
||||
if (result.affected == undefined || result.affected <= 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue