washday-sdk 1.6.8 → 1.6.9
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 +2 -2
- package/package.json +1 -1
- package/src/api/csv/get.ts +2 -2
package/dist/api/csv/get.js
CHANGED
|
@@ -379,8 +379,8 @@ export const exportScheduledDeliveriesReport = function (companyId, params) {
|
|
|
379
379
|
const config = {
|
|
380
380
|
headers: {
|
|
381
381
|
Authorization: `Bearer ${this.apiToken}`,
|
|
382
|
-
'Content-Type': '
|
|
383
|
-
'Content-disposition': 'attachment; filename=[file.
|
|
382
|
+
'Content-Type': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
383
|
+
'Content-disposition': 'attachment; filename=[file.xlsx]'
|
|
384
384
|
},
|
|
385
385
|
params: {
|
|
386
386
|
responseType: 'blob'
|
package/package.json
CHANGED
package/src/api/csv/get.ts
CHANGED
|
@@ -417,8 +417,8 @@ export const exportScheduledDeliveriesReport = async function (this: WashdayClie
|
|
|
417
417
|
const config = {
|
|
418
418
|
headers: {
|
|
419
419
|
Authorization: `Bearer ${this.apiToken}`,
|
|
420
|
-
'Content-Type': '
|
|
421
|
-
'Content-disposition': 'attachment; filename=[file.
|
|
420
|
+
'Content-Type': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
421
|
+
'Content-disposition': 'attachment; filename=[file.xlsx]'
|
|
422
422
|
},
|
|
423
423
|
params: {
|
|
424
424
|
responseType: 'blob'
|