@kumori/aurora-backend-handler 1.0.86 → 1.0.87
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/account-api-service.ts +17 -17
- package/package.json +1 -1
|
@@ -1419,24 +1419,24 @@ export const updateAccount = async (account: Account, security: Security) => {
|
|
|
1419
1419
|
provider: account.cloudProvider?.name,
|
|
1420
1420
|
});
|
|
1421
1421
|
eventHelper.account.publish.updateError(account);
|
|
1422
|
-
const { code, message } = extractErrorInfo(error);
|
|
1422
|
+
// const { code, message } = extractErrorInfo(error);
|
|
1423
1423
|
|
|
1424
|
-
const accountErrorNotification: Notification = {
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
};
|
|
1439
|
-
eventHelper.notification.publish.creation(accountErrorNotification);
|
|
1424
|
+
// const accountErrorNotification: Notification = {
|
|
1425
|
+
// type: "error",
|
|
1426
|
+
// subtype: "account-update-error",
|
|
1427
|
+
// date: Date.now().toString(),
|
|
1428
|
+
// info_content: {
|
|
1429
|
+
// code,
|
|
1430
|
+
// message,
|
|
1431
|
+
// },
|
|
1432
|
+
// status: "unread",
|
|
1433
|
+
// callToAction: false,
|
|
1434
|
+
// data: {
|
|
1435
|
+
// account: account.name,
|
|
1436
|
+
// tenant: account.tenant,
|
|
1437
|
+
// },
|
|
1438
|
+
// };
|
|
1439
|
+
// eventHelper.notification.publish.creation(accountErrorNotification);
|
|
1440
1440
|
throw error;
|
|
1441
1441
|
}
|
|
1442
1442
|
};
|