@hubs101/js-api-skd-client 1.0.10396 → 1.0.10397
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.
|
@@ -130,7 +130,7 @@ const _fetchAccountEvents = (basePath, token, url) => __awaiter(void 0, void 0,
|
|
|
130
130
|
exports._fetchAccountEvents = _fetchAccountEvents;
|
|
131
131
|
const _fetchAccountGroups = (basePath, token, accountId, type) => __awaiter(void 0, void 0, void 0, function* () {
|
|
132
132
|
const base = (0, base_1.getBasePath)(basePath);
|
|
133
|
-
const
|
|
133
|
+
const groups = yield (0, api_1.getRequest)(`${base.ACCOUNTS}/${accountId}/groups?type=${type}`, token);
|
|
134
134
|
return groups;
|
|
135
135
|
});
|
|
136
136
|
exports._fetchAccountGroups = _fetchAccountGroups;
|