@hubs101/js-api-skd-client 1.0.10355 → 1.0.10356
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/lib/api/event/index.js +3 -3
- package/package.json +1 -1
package/lib/api/event/index.js
CHANGED
|
@@ -428,10 +428,10 @@ const _fetchEventPages = (basePath, token, eventId, nbPage, params) => __awaiter
|
|
|
428
428
|
const base = (0, base_1.getBasePath)(basePath);
|
|
429
429
|
const configUrl = () => {
|
|
430
430
|
if (nbPage && params)
|
|
431
|
-
return `${base.EVENTS}/${eventId}/pages?limit=
|
|
431
|
+
return `${base.EVENTS}/${eventId}/pages?limit=40&page=${nbPage}${params}`;
|
|
432
432
|
else if (nbPage)
|
|
433
|
-
return `${base.EVENTS}/${eventId}/pages?limit=
|
|
434
|
-
return `${base.EVENTS}/${eventId}/pages?limit=
|
|
433
|
+
return `${base.EVENTS}/${eventId}/pages?limit=40&page=${nbPage}`;
|
|
434
|
+
return `${base.EVENTS}/${eventId}/pages?limit=40`;
|
|
435
435
|
};
|
|
436
436
|
const eventPages = yield (0, api_1.getRequest)(configUrl(), token);
|
|
437
437
|
return eventPages;
|