mozrest-sdk-react-dev 0.3.21 → 0.3.22
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/mozrest-sdk.es.js +3 -1
- package/package.json +1 -1
package/mozrest-sdk.es.js
CHANGED
|
@@ -126915,7 +126915,9 @@ const StatsBar = ({
|
|
|
126915
126915
|
...payload
|
|
126916
126916
|
};
|
|
126917
126917
|
if (cancellations) {
|
|
126918
|
-
params2["filters[
|
|
126918
|
+
params2["filters[statuses]"] = ["canceled", "cancelled"];
|
|
126919
|
+
} else {
|
|
126920
|
+
params2["filters[excludeStatus]"] = ["require_payment"];
|
|
126919
126921
|
}
|
|
126920
126922
|
const [, response] = await handlePromise(ReservationAnalyticsService.getBookingItemTotal(params2));
|
|
126921
126923
|
if (!response) return;
|