@frontegg/rest-api 3.1.66 → 3.1.67
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/applications/index.js +1 -1
- package/index.js +1 -1
- package/node/applications/index.js +1 -1
- package/node/index.js +1 -1
- package/package.json +1 -1
package/applications/index.js
CHANGED
|
@@ -25,7 +25,7 @@ export async function getApplicationsData({
|
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
export async function assignUserToApplications(body) {
|
|
28
|
-
return Post(`${urls.identity.applications.v1}/user
|
|
28
|
+
return Post(`${urls.identity.applications.v1}/apps-user`, body);
|
|
29
29
|
}
|
|
30
30
|
export async function unassignUserFromApplications(body) {
|
|
31
31
|
return Delete(`${urls.identity.applications.v1}/user-apps`, body);
|
package/index.js
CHANGED
|
@@ -44,7 +44,7 @@ async function getApplicationsData({
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
async function assignUserToApplications(body) {
|
|
47
|
-
return (0, _fetch.Post)(`${_constants.urls.identity.applications.v1}/user
|
|
47
|
+
return (0, _fetch.Post)(`${_constants.urls.identity.applications.v1}/apps-user`, body);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
async function unassignUserFromApplications(body) {
|
package/node/index.js
CHANGED