From 4ac39a39905a9efded541250b562ce9c1ff853db Mon Sep 17 00:00:00 2001 From: Andrew Henry Date: Tue, 12 Jul 2022 11:23:30 -0700 Subject: [PATCH] Do not pass onPartialResponse option on to upstream telemetry (#5486) --- src/plugins/condition/ConditionManager.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/condition/ConditionManager.js b/src/plugins/condition/ConditionManager.js index f20f52f995..d04ef8d3ca 100644 --- a/src/plugins/condition/ConditionManager.js +++ b/src/plugins/condition/ConditionManager.js @@ -300,8 +300,11 @@ export default class ConditionManager extends EventEmitter { return this.compositionLoad.then(() => { let latestTimestamp; let conditionResults = {}; + let nextLegOptions = {...options}; + delete nextLegOptions.onPartialResponse; + const conditionRequests = this.conditions - .map(condition => condition.requestLADConditionResult(options)); + .map(condition => condition.requestLADConditionResult(nextLegOptions)); return Promise.all(conditionRequests) .then((results) => {