@mu-cabin/opms-permission 0.8.16 → 0.8.17

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/dist/index.cjs CHANGED
@@ -247,7 +247,7 @@ async function queryResource(baseUrl, params) {
247
247
  }
248
248
  async function getUserOrgTree(baseUrl) {
249
249
  return await axiosClient.post(
250
- `${baseUrl}/user/userInfo`
250
+ `${baseUrl}/user/orgTree`
251
251
  );
252
252
  }
253
253
  async function queryOrgCompanies(baseUrl, params) {
package/dist/index.mjs CHANGED
@@ -208,7 +208,7 @@ async function queryResource(baseUrl, params) {
208
208
  }
209
209
  async function getUserOrgTree(baseUrl) {
210
210
  return await axiosClient.post(
211
- `${baseUrl}/user/userInfo`
211
+ `${baseUrl}/user/orgTree`
212
212
  );
213
213
  }
214
214
  async function queryOrgCompanies(baseUrl, params) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mu-cabin/opms-permission",
3
- "version": "0.8.16",
3
+ "version": "0.8.17",
4
4
  "description": "Frontend SDK for OPMS permission and auth management.",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",