From 3128103f3aa6747a7994f7ad22b0152b25e0f15a Mon Sep 17 00:00:00 2001 From: Kittapath Date: Wed, 13 Mar 2024 09:52:05 +0700 Subject: [PATCH] no message --- src/controllers/SalaryController.ts | 2 +- src/controllers/SalaryEmployeeController.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/SalaryController.ts b/src/controllers/SalaryController.ts index 6b7f500..356b88f 100644 --- a/src/controllers/SalaryController.ts +++ b/src/controllers/SalaryController.ts @@ -27,7 +27,7 @@ import { randomUUID } from "crypto"; @Route("api/v1/salary") @Tags("Salary") @Security("bearerAuth") -export class Salary extends Controller { +export class SalaryController extends Controller { private salaryRepository = AppDataSource.getRepository(Salarys); private salaryRankRepository = AppDataSource.getRepository(SalaryRanks); private poTypeRepository = AppDataSource.getRepository(PosType); diff --git a/src/controllers/SalaryEmployeeController.ts b/src/controllers/SalaryEmployeeController.ts index 5a72c72..d2beea6 100644 --- a/src/controllers/SalaryEmployeeController.ts +++ b/src/controllers/SalaryEmployeeController.ts @@ -27,9 +27,9 @@ import { SalaryRankEmployees } from "../entities/SalaryRankEmployees"; import { randomUUID } from "crypto"; @Route("api/v1/salary/employee") -@Tags("Salary") +@Tags("SalaryEmployee") @Security("bearerAuth") -export class Salary extends Controller { +export class SalaryEmployeeController extends Controller { private salaryEmployeeRepository = AppDataSource.getRepository(SalaryEmployees); private salaryRankEmployeeRepository = AppDataSource.getRepository(SalaryRankEmployees);