VaSlip Update

This commit is contained in:
=bhagwanSingh 2025-12-04 13:35:12 +05:30
parent 4d617d3113
commit 59561f211d
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ async function va_payslip_data_function(req, res) {
return res.status(404).json({ success: false, message: "VA not found" });
}
const salesforceUrl = `${process.env.SF_DOCTRACKER_API_URL}services/apexrest/docva/api/va-payslip?vaId=${vaId}`;
const salesforceUrl = `${process.env.SF_DOCTRACKER_API_URL}services/apexrest/docva/api/va-payslip/${vaId}`;
const response = await fetch(salesforceUrl, {
method: 'GET',