@hubs101/js-api-skd-client 1.0.10348 → 1.0.10349
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
|
@@ -565,7 +565,7 @@ const _deletePortfolio = (basePath, token, portfolioId) => __awaiter(void 0, voi
|
|
|
565
565
|
exports._deletePortfolio = _deletePortfolio;
|
|
566
566
|
const _assignPortfolio = (basePath, token, eventId, portfolioId) => __awaiter(void 0, void 0, void 0, function* () {
|
|
567
567
|
const base = (0, base_1.getBasePath)(basePath);
|
|
568
|
-
const response = yield (0, api_1.postRequestWE)(`${base.EVENTS}/${eventId}/portfolio`, { portfolioId }, token);
|
|
568
|
+
const response = yield (0, api_1.postRequestWE)(`${base.EVENTS}/${eventId}/portfolio`, { portfolio: portfolioId }, token);
|
|
569
569
|
return response;
|
|
570
570
|
});
|
|
571
571
|
exports._assignPortfolio = _assignPortfolio;
|