washday-sdk 0.0.93 → 0.0.94
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/cfdi/get.js +1 -1
- package/package.json +1 -1
- package/src/api/cfdi/get.ts +2 -2
package/dist/api/cfdi/get.js
CHANGED
|
@@ -91,7 +91,7 @@ export const getGlobalCFDIPreview = function (params) {
|
|
|
91
91
|
};
|
|
92
92
|
const queryParams = generateQueryParamsStr([
|
|
93
93
|
'ordersID',
|
|
94
|
-
'
|
|
94
|
+
'customer',
|
|
95
95
|
], params);
|
|
96
96
|
return yield axiosInstance.get(`${GET_SET_CFDI}/global/preview?${queryParams}`, config);
|
|
97
97
|
}
|
package/package.json
CHANGED
package/src/api/cfdi/get.ts
CHANGED
|
@@ -80,7 +80,7 @@ export const sendCFDIByEmail = async function (this: WashdayClientInstance, id:
|
|
|
80
80
|
// THIS IS FOR WHEN MODAL OPENS AND WE WANT TO GET PREVIEW DATA
|
|
81
81
|
export const getGlobalCFDIPreview = async function (this: WashdayClientInstance, params: {
|
|
82
82
|
ordersID?: string[];
|
|
83
|
-
|
|
83
|
+
customer?: string
|
|
84
84
|
}): Promise<any> {
|
|
85
85
|
try {
|
|
86
86
|
const config = {
|
|
@@ -88,7 +88,7 @@ export const getGlobalCFDIPreview = async function (this: WashdayClientInstance,
|
|
|
88
88
|
};
|
|
89
89
|
const queryParams = generateQueryParamsStr([
|
|
90
90
|
'ordersID',
|
|
91
|
-
'
|
|
91
|
+
'customer',
|
|
92
92
|
], params);
|
|
93
93
|
return await axiosInstance.get(`${GET_SET_CFDI}/global/preview?${queryParams}`, config);
|
|
94
94
|
} catch (error) {
|