@itilite/iui-user-management 0.4.7 → 0.4.8
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1510,7 +1510,7 @@ var makePrimaryAdmin = function makePrimaryAdmin(payload) {
|
|
|
1510
1510
|
return new Promise(function (resolve, reject) {
|
|
1511
1511
|
api$1.put(userAddEditUrl.primaryAdmin(payload.userId)).then(function (res) {
|
|
1512
1512
|
if (res) {
|
|
1513
|
-
IUIToastMessageService.sNotify(
|
|
1513
|
+
IUIToastMessageService.sNotify(res.data.message.toString());
|
|
1514
1514
|
resolve();
|
|
1515
1515
|
} else {
|
|
1516
1516
|
reject(res);
|
|
@@ -1530,7 +1530,7 @@ var resetPasswordForUser = function resetPasswordForUser(data) {
|
|
|
1530
1530
|
api$1.post("" + userAddEditUrl.resetPasswordForUserApi(), {
|
|
1531
1531
|
email: data.email
|
|
1532
1532
|
}).then(function (res) {
|
|
1533
|
-
IUIToastMessageService.sNotify(res.data.
|
|
1533
|
+
IUIToastMessageService.sNotify(res.data.status.toString());
|
|
1534
1534
|
resolve();
|
|
1535
1535
|
})["catch"](function (err) {
|
|
1536
1536
|
if (!err.response.data.status) {
|