@hubs101/js-api-skd-client 1.0.10664 → 1.0.10666
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.
|
@@ -117,7 +117,7 @@ export type FeedType = {
|
|
|
117
117
|
events: string;
|
|
118
118
|
portfolios: string;
|
|
119
119
|
language: string;
|
|
120
|
-
webinar_id?: string;
|
|
120
|
+
webinar_id?: string | null;
|
|
121
121
|
updated_by?: string;
|
|
122
122
|
updated_at: string;
|
|
123
123
|
};
|
|
@@ -151,7 +151,7 @@ export type FeedDetailsType = {
|
|
|
151
151
|
name: string;
|
|
152
152
|
}[];
|
|
153
153
|
language: string;
|
|
154
|
-
webinar_id?: string;
|
|
154
|
+
webinar_id?: string | null;
|
|
155
155
|
updated_by?: string;
|
|
156
156
|
updated_at: string;
|
|
157
157
|
};
|
|
@@ -178,5 +178,5 @@ export type FeedInputType = {
|
|
|
178
178
|
events: string;
|
|
179
179
|
portfolios: string;
|
|
180
180
|
language: string;
|
|
181
|
-
webinar_id?: string;
|
|
181
|
+
webinar_id?: string | null;
|
|
182
182
|
};
|
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;
|