newProfileAbility send id
This commit is contained in:
parent
94771726aa
commit
8d5697245f
2 changed files with 2 additions and 2 deletions
|
|
@ -134,7 +134,7 @@ export class ProfileAbilityController extends Controller {
|
|||
history.profileAbilityId = data.id;
|
||||
await this.profileAbilityHistoryRepo.save(history, { data: req });
|
||||
//setLogDataDiff(req, { before, after: history });
|
||||
return new HttpSuccess();
|
||||
return new HttpSuccess(data.id);
|
||||
}
|
||||
|
||||
@Patch("{abilityId}")
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ export class ProfileActpositionController extends Controller {
|
|||
history.profileActpositionId = data.id;
|
||||
await this.profileActpositionHistoryRepo.save(history, { data: req });
|
||||
//setLogDataDiff(req, { before, after: history });
|
||||
return new HttpSuccess();
|
||||
return new HttpSuccess(data.id);
|
||||
}
|
||||
|
||||
@Patch("{actpositionId}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue