washday-sdk 0.0.78 → 0.0.79
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/order/post.js +1 -1
- package/package.json +1 -1
- package/src/api/order/post.ts +1 -1
package/dist/api/order/post.js
CHANGED
|
@@ -30,7 +30,7 @@ export const sendEmailReceipt = function (id) {
|
|
|
30
30
|
const config = {
|
|
31
31
|
headers: { Authorization: `Bearer ${this.apiToken}` }
|
|
32
32
|
};
|
|
33
|
-
return yield axiosInstance.post(`${GET_SET_ORDER}/${id}/sendEmailReceipt`, config);
|
|
33
|
+
return yield axiosInstance.post(`${GET_SET_ORDER}/${id}/sendEmailReceipt`, null, config);
|
|
34
34
|
}
|
|
35
35
|
catch (error) {
|
|
36
36
|
console.error('Error fetching create:', error);
|
package/package.json
CHANGED
package/src/api/order/post.ts
CHANGED
|
@@ -26,7 +26,7 @@ export const sendEmailReceipt = async function (this: WashdayClientInstance, id:
|
|
|
26
26
|
const config = {
|
|
27
27
|
headers: { Authorization: `Bearer ${this.apiToken}` }
|
|
28
28
|
};
|
|
29
|
-
return await axiosInstance.post(`${GET_SET_ORDER}/${id}/sendEmailReceipt`, config);
|
|
29
|
+
return await axiosInstance.post(`${GET_SET_ORDER}/${id}/sendEmailReceipt`, null, config);
|
|
30
30
|
} catch (error) {
|
|
31
31
|
console.error('Error fetching create:', error);
|
|
32
32
|
throw error;
|