@ticketapp-dev/shop-sdk 1.0.41 → 1.0.42
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/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3947,7 +3947,7 @@ class Tn {
|
|
|
3947
3947
|
async getCategories(t) {
|
|
3948
3948
|
try {
|
|
3949
3949
|
this.debugLog("Fetching all categories", { organizationId: this.config.organizationId });
|
|
3950
|
-
const n = await this.sdk.findAllPublicCategoriesByOrganizationId({ organizationId: this.config.organizationId, dateRange: t });
|
|
3950
|
+
const n = await this.sdk.findAllPublicCategoriesByOrganizationId({ organizationId: this.config.organizationId, dateRange: t ?? null });
|
|
3951
3951
|
if (n?.findAllPublicHostingsByOrganizationId) {
|
|
3952
3952
|
const i = n.findAllPublicHostingsByOrganizationId, r = n.findAllPublicLocationsByOrganizationId;
|
|
3953
3953
|
return this.debugLog("Categories fetched", { count: i.count + r.count, dataLength: i.data.length + r.data.length }), [
|