@docbrasil/api-systemmanager 1.1.0-test → 1.1.0
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/api/admin/user.js +1 -1
- package/dist/bundle.cjs +1 -1
- package/dist/bundle.mjs +1 -1
- package/package.json +1 -1
package/api/admin/user.js
CHANGED
|
@@ -101,7 +101,7 @@ class AdminUser {
|
|
|
101
101
|
Joi.assert(userIds, Joi.array().items(Joi.string()).required(), 'Users identifier (_id database)');
|
|
102
102
|
Joi.assert(apiKey, Joi.string().required(), 'Api to use to search users');
|
|
103
103
|
|
|
104
|
-
const apiCall = self.client.post(`/api/users?apiKey=${apiKey}`, { userIds });
|
|
104
|
+
const apiCall = self.client.post(`/api/admin/users?apiKey=${apiKey}`, { userIds });
|
|
105
105
|
return self._returnData(await apiCall);
|
|
106
106
|
} catch (ex) {
|
|
107
107
|
throw ex;
|
package/dist/bundle.cjs
CHANGED
|
@@ -11284,7 +11284,7 @@ class AdminUser {
|
|
|
11284
11284
|
Joi__default["default"].assert(userIds, Joi__default["default"].array().items(Joi__default["default"].string()).required(), 'Users identifier (_id database)');
|
|
11285
11285
|
Joi__default["default"].assert(apiKey, Joi__default["default"].string().required(), 'Api to use to search users');
|
|
11286
11286
|
|
|
11287
|
-
const apiCall = self.client.post(`/api/users?apiKey=${apiKey}`, { userIds });
|
|
11287
|
+
const apiCall = self.client.post(`/api/admin/users?apiKey=${apiKey}`, { userIds });
|
|
11288
11288
|
return self._returnData(await apiCall);
|
|
11289
11289
|
} catch (ex) {
|
|
11290
11290
|
throw ex;
|