IO-256 Remove credentials with Axios calls for QBO.

This commit is contained in:
Patrick Fic
2021-10-22 10:00:23 -07:00
parent 434ed46b5a
commit 9d4a59ca16
7 changed files with 21 additions and 54 deletions

View File

@@ -23,14 +23,10 @@ export function JobsDetailHeaderActionexportCustomerData({
logImEXEvent("job_export_cust_data");
let PartnerResponse;
if (bodyshop.accountingconfig && bodyshop.accountingconfig.qbo) {
PartnerResponse = await axios.post(
`/qbo/receivables`,
{
jobIds: [job.id],
custDataOnly: true,
},
{ withCredentials: true }
);
PartnerResponse = await axios.post(`/qbo/receivables`, {
jobIds: [job.id],
custDataOnly: true,
});
} else {
//Default is QBD