Fix Bug #2243
All checks were successful
Build & Deploy on Dev / build (push) Successful in 54s

This commit is contained in:
harid 2026-01-30 12:01:38 +07:00
parent 12d2eb1ee9
commit e461f43604

View file

@ -1340,7 +1340,7 @@ export class ProfileSalaryTempController extends Controller {
* 4. UPDATE * 4. UPDATE
* ========================= */ * ========================= */
for (const temp of toUpdate) { for (const temp of toUpdate) {
const { salaryId, id, ...data } = temp; const { id, salaryId, isDelete, isEdit, ...data } = temp;
await queryRunner.manager.update( await queryRunner.manager.update(
ProfileSalary, ProfileSalary,
{ id: salaryId }, { id: salaryId },