@etainabl/nodejs-sdk 1.3.137 → 1.3.138
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/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -6109,7 +6109,7 @@ async function handleError({ etnApi, automationRun, error, lambdaSource, account
|
|
|
6109
6109
|
userSub: lambdaSource,
|
|
6110
6110
|
companyId: automationRun.companyId
|
|
6111
6111
|
});
|
|
6112
|
-
if (automationRun.category === "
|
|
6112
|
+
if (automationRun.category === "account" && accountId) {
|
|
6113
6113
|
await etnApi.updateAccountStatusForAutomation(automation._id, accountId, { status: "error" });
|
|
6114
6114
|
}
|
|
6115
6115
|
}
|