AuthFetch import add

This commit is contained in:
=bhagwanSingh 2025-12-18 14:01:18 +05:30
parent fd9bf9e517
commit b3bb9697e8
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
import authFetch from "../../../utils/authFetch.js";
async function va_payroll_schedule_function(req, res) {
try {
const salesforceUrl = `${process.env.SF_DOCTRACKER_API_URL}services/apexrest/docva/api/payroll-schedule`;

View File

@ -83,7 +83,7 @@ vaRoutes.get("/log/project/:projectId/:from?/:to?", authValidator, va_log_callba
// Payroll routes
vaRoutes.get("/payrollSchedule", authValidator, va_payroll_schedule_function); // VA Payroll Schedule
vaRoutes.get("/payrollSchedule", va_payroll_schedule_function); // VA Payroll Schedule
vaRoutes.get("/paySlip/:vaId", authValidator, va_payslip_data_function); // VA Payslip
vaRoutes.get("/:userName", va_username_callback); // VA Username Callback