@kumori/aurora-backend-handler 1.0.133 → 1.0.134
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.
|
@@ -382,7 +382,9 @@ export const handleAccountOperationSuccess = ({
|
|
|
382
382
|
const isCreate = action === "CREATE";
|
|
383
383
|
const updatedAccount: Account = {
|
|
384
384
|
...originalData,
|
|
385
|
-
status: isCreate
|
|
385
|
+
status: isCreate
|
|
386
|
+
? resolveStatusAfterCreate(existingAccount)
|
|
387
|
+
: existingAccount?.status || AccountStatus.ACTIVE,
|
|
386
388
|
};
|
|
387
389
|
|
|
388
390
|
return {
|