From 9636ee669135ed7359e69b8cd9ba2bad528301af Mon Sep 17 00:00:00 2001 From: Bright Date: Thu, 30 Jan 2025 14:40:56 +0700 Subject: [PATCH] no message --- src/controllers/CommandController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index fd71116e..746f0bf0 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -1352,7 +1352,7 @@ export class CommandController extends Controller { let type: string = "OFFICER" try { const response_ = await axios.get( - process.env.API_URL + `/retirement/update-status/${type}/${today.getFullYear()+1}`, + process.env.API_URL + `/retirement/update-status/${type}/${today.getFullYear()}`, { headers: { Authorization: `Bearer ${adminToken}`, @@ -1384,7 +1384,7 @@ export class CommandController extends Controller { type = "EMPLOYEE" try { const response_ = await axios.get( - process.env.API_URL + `/retirement/update-status/${type}/${today.getFullYear()+1}`, + process.env.API_URL + `/retirement/update-status/${type}/${today.getFullYear()}`, { headers: { Authorization: `Bearer ${adminToken}`,