diff --git a/src/controllers/ProfileSalaryTempController.ts b/src/controllers/ProfileSalaryTempController.ts index e4cb6637..9e458953 100644 --- a/src/controllers/ProfileSalaryTempController.ts +++ b/src/controllers/ProfileSalaryTempController.ts @@ -1340,7 +1340,7 @@ export class ProfileSalaryTempController extends Controller { * 4. UPDATE * ========================= */ for (const temp of toUpdate) { - const { salaryId, id, ...data } = temp; + const { id, salaryId, isDelete, isEdit, ...data } = temp; await queryRunner.manager.update( ProfileSalary, { id: salaryId },