From f73e0b12619da726aedad9d7b85d3e22a78b9f84 Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Tue, 14 May 2024 11:51:40 +0700 Subject: [PATCH] Update ProfileSalaryEmployeeController.ts --- src/controllers/ProfileSalaryEmployeeController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/ProfileSalaryEmployeeController.ts b/src/controllers/ProfileSalaryEmployeeController.ts index e716877b..d9ef1b7f 100644 --- a/src/controllers/ProfileSalaryEmployeeController.ts +++ b/src/controllers/ProfileSalaryEmployeeController.ts @@ -27,10 +27,10 @@ import { Profile } from "../entities/Profile"; import { ProfileEmployee } from "../entities/ProfileEmployee"; import { LessThan, MoreThan } from "typeorm"; -@Route("api/v1/org/profile/salary") +@Route("api/v1/org/profile-employee/salary") @Tags("ProfileSalary") @Security("bearerAuth") -export class ProfileSalaryController extends Controller { +export class ProfileSalaryEmployeeController extends Controller { private profileRepo = AppDataSource.getRepository(ProfileEmployee); private salaryRepo = AppDataSource.getRepository(ProfileSalary); private salaryHistoryRepo = AppDataSource.getRepository(ProfileSalaryHistory);