From 5092ba8763ec89b9ea2539a22329e462c1047601 Mon Sep 17 00:00:00 2001 From: Shefali Date: Wed, 20 Mar 2024 12:33:54 -0700 Subject: [PATCH] Return awaited promise --- src/plugins/condition/ConditionManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/condition/ConditionManager.js b/src/plugins/condition/ConditionManager.js index c1fd59cb35..be51360300 100644 --- a/src/plugins/condition/ConditionManager.js +++ b/src/plugins/condition/ConditionManager.js @@ -364,7 +364,7 @@ export default class ConditionManager extends EventEmitter { let nextLegOptions = { ...options }; delete nextLegOptions.onPartialResponse; - const results = Promise.all( + const results = await Promise.all( this.conditions.map((condition) => condition.requestLADConditionResult(nextLegOptions)) );