washday-sdk 0.0.114 → 0.0.115
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.
|
@@ -15,7 +15,7 @@ export const deleteCashUpReport = function (storeId, id) {
|
|
|
15
15
|
const config = {
|
|
16
16
|
headers: { Authorization: `Bearer ${this.apiToken}` }
|
|
17
17
|
};
|
|
18
|
-
return yield axiosInstance.
|
|
18
|
+
return yield axiosInstance.delete(`${GET_CASH_UP_REPORTS}/${storeId}/${id}`, config);
|
|
19
19
|
}
|
|
20
20
|
catch (error) {
|
|
21
21
|
console.error('Error fetching:', error);
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ export const deleteCashUpReport = async function (this: WashdayClientInstance, s
|
|
|
7
7
|
const config = {
|
|
8
8
|
headers: { Authorization: `Bearer ${this.apiToken}` }
|
|
9
9
|
};
|
|
10
|
-
return await axiosInstance.
|
|
10
|
+
return await axiosInstance.delete(`${GET_CASH_UP_REPORTS}/${storeId}/${id}`, config);
|
|
11
11
|
} catch (error) {
|
|
12
12
|
console.error('Error fetching:', error);
|
|
13
13
|
throw error;
|