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" let type: string = "OFFICER"
try { try {
const response_ = await axios.get( 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: { headers: {
Authorization: `Bearer ${adminToken}`, Authorization: `Bearer ${adminToken}`,
@ -1384,7 +1384,7 @@ export class CommandController extends Controller {
type = "EMPLOYEE" type = "EMPLOYEE"
try { try {
const response_ = await axios.get( 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: { headers: {
Authorization: `Bearer ${adminToken}`, Authorization: `Bearer ${adminToken}`,