newProfileAbility send id

This commit is contained in:
kittapath 2025-01-27 11:48:18 +07:00
parent 94771726aa
commit 8d5697245f
2 changed files with 2 additions and 2 deletions

View file

@ -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}")

View file

@ -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}")