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.
@@ -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': 'text/csv; charset=utf-8',
383
- 'Content-disposition': 'attachment; filename=[file.csv]'
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "washday-sdk",
3
- "version": "1.6.8",
3
+ "version": "1.6.9",
4
4
  "description": "Washday utilities functions and API",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -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': 'text/csv; charset=utf-8',
421
- 'Content-disposition': 'attachment; filename=[file.csv]'
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'