@stackfactor/client-api 1.1.118 → 1.1.120
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/exports.js +2 -0
- package/lib/{quota.js → quotas.js} +1 -1
- package/package.json +1 -1
package/exports.js
CHANGED
|
@@ -26,6 +26,7 @@ import learningContent from "./lib/learningContent.js";
|
|
|
26
26
|
import learningPath from "./lib/learningPath.js";
|
|
27
27
|
import logger from "./lib/logger.js";
|
|
28
28
|
import microSkillsQuizes from "./lib/microSkillsQuizes.js";
|
|
29
|
+
import quotas from "./lib/quotas.js";
|
|
29
30
|
import role from "./lib/role.js";
|
|
30
31
|
import roleTemplate from "./lib/roleTemplate.js";
|
|
31
32
|
import security from "./lib/security.js";
|
|
@@ -64,6 +65,7 @@ export {
|
|
|
64
65
|
microSkillsQuizes,
|
|
65
66
|
PERMISSIONS,
|
|
66
67
|
PERMISSION_DESCRIPTIONS,
|
|
68
|
+
quotas,
|
|
67
69
|
RESPONSE_TYPE,
|
|
68
70
|
role,
|
|
69
71
|
roleTemplate,
|
|
@@ -7,7 +7,7 @@ import { client } from "./axiosClient.js";
|
|
|
7
7
|
*/
|
|
8
8
|
const getAllQuota = (token) => {
|
|
9
9
|
return new Promise(function (resolve, reject) {
|
|
10
|
-
let confirmationRequest = client.get(`/api/v1/
|
|
10
|
+
let confirmationRequest = client.get(`/api/v1/quotas/getallquota`, {
|
|
11
11
|
headers: { authorization: token },
|
|
12
12
|
});
|
|
13
13
|
confirmationRequest
|