@izara_project/izara-core-library-asynchronous-flow 1.0.13 → 1.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izara_project/izara-core-library-asynchronous-flow",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Shared asynchronous flow logic",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -450,12 +450,13 @@ async function clearAllAwaitingSteps(
450
450
  promiseArray.push(
451
451
  dynamodbSharedLib.deleteItem(
452
452
  _izContext,
453
- "AwaitingMultipleSteps",
453
+ await dynamodbSharedLib.tableName(_izContext, "AwaitingMultipleSteps"),
454
454
  {
455
455
  awaitingStepId: listPendingStepIds.Items[idx].awaitingStepId,
456
456
  pendingStepId: listPendingStepIds.Items[idx].pendingStepId
457
457
  }
458
- ));
458
+ )
459
+ );
459
460
 
460
461
  _izContext.logger.debug(`delete item in dynamodb AwaitingMultipleStepByPending`)
461
462
  promiseArray.push(
@@ -466,8 +467,8 @@ async function clearAllAwaitingSteps(
466
467
  pendingStepId: listPendingStepIds.Items[idx].pendingStepId,
467
468
  awaitingStepId: listPendingStepIds.Items[idx].awaitingStepId
468
469
  }
469
- ));
470
-
470
+ )
471
+ );
471
472
  }
472
473
 
473
474
  await Promise.all(promiseArray);