no message

This commit is contained in:
kittapath 2025-01-27 11:51:33 +07:00
parent 8d5697245f
commit 03a7b45aa3
9 changed files with 9 additions and 9 deletions

View file

@ -134,7 +134,7 @@ export class ProfileAbilityController extends Controller {
history.profileAbilityId = data.id; history.profileAbilityId = data.id;
await this.profileAbilityHistoryRepo.save(history, { data: req }); await this.profileAbilityHistoryRepo.save(history, { data: req });
//setLogDataDiff(req, { before, after: history }); //setLogDataDiff(req, { before, after: history });
return new HttpSuccess(data.id); return new HttpSuccess();
} }
@Patch("{abilityId}") @Patch("{abilityId}")

View file

@ -139,7 +139,7 @@ export class ProfileActpositionEmployeeController extends Controller {
await this.profileActpositionHistoryRepo.save(history, { data: req }); await this.profileActpositionHistoryRepo.save(history, { data: req });
//setLogDataDiff(req, { before, after: history }); //setLogDataDiff(req, { before, after: history });
return new HttpSuccess(); return new HttpSuccess(data.id);
} }
@Patch("{actpositionId}") @Patch("{actpositionId}")

View file

@ -133,7 +133,7 @@ export class ProfileActpositionEmployeeTempController extends Controller {
await this.profileActpositionHistoryRepo.save(history, { data: req }); await this.profileActpositionHistoryRepo.save(history, { data: req });
//setLogDataDiff(req, { before, after: history }); //setLogDataDiff(req, { before, after: history });
return new HttpSuccess(); return new HttpSuccess(data.id);
} }
@Patch("{actpositionId}") @Patch("{actpositionId}")

View file

@ -146,7 +146,7 @@ export class ProfileAssessmentsController extends Controller {
await this.profileAssessmentsHistoryRepository.save(history, { data: req }); await this.profileAssessmentsHistoryRepository.save(history, { data: req });
setLogDataDiff(req, { before, after: history }); setLogDataDiff(req, { before, after: history });
return new HttpSuccess(); return new HttpSuccess(data.id);
} }
@Patch("{assessmentId}") @Patch("{assessmentId}")

View file

@ -147,7 +147,7 @@ export class ProfileAssessmentsEmployeeController extends Controller {
await this.profileAssessmentsHistoryRepository.save(history, { data: req }); await this.profileAssessmentsHistoryRepository.save(history, { data: req });
setLogDataDiff(req, { before, after: history }); setLogDataDiff(req, { before, after: history });
return new HttpSuccess(); return new HttpSuccess(data.id);
} }
@Patch("{assessmentId}") @Patch("{assessmentId}")

View file

@ -140,7 +140,7 @@ export class ProfileAssessmentsEmployeeTempController extends Controller {
await this.profileAssessmentsHistoryRepository.save(history, { data: req }); await this.profileAssessmentsHistoryRepository.save(history, { data: req });
//setLogDataDiff(req, { before, after: history }); //setLogDataDiff(req, { before, after: history });
return new HttpSuccess(); return new HttpSuccess(data.id);
} }
@Patch("{assessmentId}") @Patch("{assessmentId}")

View file

@ -134,7 +134,7 @@ export class ProfileAssistanceController extends Controller {
history.profileAssistanceId = data.id; history.profileAssistanceId = data.id;
await this.profileAssistanceHistoryRepo.save(history, { data: req }); await this.profileAssistanceHistoryRepo.save(history, { data: req });
//setLogDataDiff(req, { before, after: history }); //setLogDataDiff(req, { before, after: history });
return new HttpSuccess(); return new HttpSuccess(data.id);
} }
@Patch("{assistanceId}") @Patch("{assistanceId}")

View file

@ -139,7 +139,7 @@ export class ProfileAssistanceEmployeeController extends Controller {
await this.profileAssistanceHistoryRepo.save(history, { data: req }); await this.profileAssistanceHistoryRepo.save(history, { data: req });
//setLogDataDiff(req, { before, after: history }); //setLogDataDiff(req, { before, after: history });
return new HttpSuccess(); return new HttpSuccess(data.id);
} }
@Patch("{assistanceId}") @Patch("{assistanceId}")

View file

@ -133,7 +133,7 @@ export class ProfileAssistanceEmployeeTempController extends Controller {
await this.profileAssistanceHistoryRepo.save(history, { data: req }); await this.profileAssistanceHistoryRepo.save(history, { data: req });
//setLogDataDiff(req, { before, after: history }); //setLogDataDiff(req, { before, after: history });
return new HttpSuccess(); return new HttpSuccess(data.id);
} }
@Patch("{assistanceId}") @Patch("{assistanceId}")