washday-sdk 1.5.5 → 1.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/csv/get.js +1 -1
- package/package.json +1 -1
- package/src/api/csv/get.ts +1 -1
package/dist/api/csv/get.js
CHANGED
|
@@ -313,7 +313,7 @@ export const exportUnpaidOrdersReportCSV = function (storeId, params) {
|
|
|
313
313
|
'timezone',
|
|
314
314
|
'customerName'
|
|
315
315
|
], params);
|
|
316
|
-
return yield this.axiosInstance.get(`${GET_SET_REPORTS}/${storeId}/unpaidOrders/
|
|
316
|
+
return yield this.axiosInstance.get(`${GET_SET_REPORTS}/${storeId}/unpaidOrders/export/csv?${queryParams}`, config);
|
|
317
317
|
}
|
|
318
318
|
catch (error) {
|
|
319
319
|
console.error('Error fetching exportUnpaidOrdersReportCSV:', error);
|
package/package.json
CHANGED
package/src/api/csv/get.ts
CHANGED
|
@@ -344,7 +344,7 @@ export const exportUnpaidOrdersReportCSV = async function (this: WashdayClientIn
|
|
|
344
344
|
'timezone',
|
|
345
345
|
'customerName'
|
|
346
346
|
], params);
|
|
347
|
-
return await this.axiosInstance.get(`${GET_SET_REPORTS}/${storeId}/unpaidOrders/
|
|
347
|
+
return await this.axiosInstance.get(`${GET_SET_REPORTS}/${storeId}/unpaidOrders/export/csv?${queryParams}`, config);
|
|
348
348
|
} catch (error) {
|
|
349
349
|
console.error('Error fetching exportUnpaidOrdersReportCSV:', error);
|
|
350
350
|
throw error;
|