no message

This commit is contained in:
Bright 2025-01-30 14:40:56 +07:00
parent 21813ffd07
commit 9636ee6691

View file

@ -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}`,