From a71a8df600f89c01c0a1266b1067f790034834a7 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Wed, 3 Jul 2024 18:06:33 +0700 Subject: [PATCH] fix --- src/controllers/SalaryController.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/controllers/SalaryController.ts b/src/controllers/SalaryController.ts index fd54e73..25e3d75 100644 --- a/src/controllers/SalaryController.ts +++ b/src/controllers/SalaryController.ts @@ -249,17 +249,6 @@ export class SalaryController extends Controller { const salary = await this.salaryRepository.findOne({ relations: ["posType_", "posLevel_"], where: { id: id }, - select: [ - "name", - "isSpecial", - "posTypeId", - "posLevelId", - "isActive", - "date", - "startDate", - "endDate", - "details", - ], }); const formattedData = {