@hubs101/js-api-skd-client 1.0.10664 → 1.0.10665
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 +1 -1
- package/package.json +1 -1
package/lib/api/event/index.js
CHANGED
|
@@ -742,7 +742,7 @@ const _fetchPortfolioEvents = (basePath, token, portfolioId) => __awaiter(void 0
|
|
|
742
742
|
exports._fetchPortfolioEvents = _fetchPortfolioEvents;
|
|
743
743
|
const _fetchBlogEventsBySlug = (basePath, accountId, blogSlug) => __awaiter(void 0, void 0, void 0, function* () {
|
|
744
744
|
const base = (0, base_1.getBasePath)(basePath);
|
|
745
|
-
const { data: blogEvents } = yield (0, api_1.getRequest)(`${base.
|
|
745
|
+
const { data: blogEvents } = yield (0, api_1.getRequest)(`${base.PUBLIC_ACCOUNTS}/${accountId}/blogs/${blogSlug}/events`);
|
|
746
746
|
return (blogEvents === null || blogEvents === void 0 ? void 0 : blogEvents.data) || blogEvents;
|
|
747
747
|
});
|
|
748
748
|
exports._fetchBlogEventsBySlug = _fetchBlogEventsBySlug;
|