summaryrefslogtreecommitdiffstats
path: root/toolkit/components/normandy/actions/ShowHeartbeatAction.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/normandy/actions/ShowHeartbeatAction.sys.mjs')
-rw-r--r--toolkit/components/normandy/actions/ShowHeartbeatAction.sys.mjs5
1 files changed, 1 insertions, 4 deletions
diff --git a/toolkit/components/normandy/actions/ShowHeartbeatAction.sys.mjs b/toolkit/components/normandy/actions/ShowHeartbeatAction.sys.mjs
index d571e46167..1f6be470aa 100644
--- a/toolkit/components/normandy/actions/ShowHeartbeatAction.sys.mjs
+++ b/toolkit/components/normandy/actions/ShowHeartbeatAction.sys.mjs
@@ -76,10 +76,7 @@ export class ShowHeartbeatAction extends BaseAction {
learnMoreUrl,
postAnswerUrl: await this.generatePostAnswerURL(recipe),
flowId: lazy.NormandyUtils.generateUuid(),
- // Recipes coming from Nimbus won't have a revision_id.
- ...(Object.hasOwn(recipe, "revision_id")
- ? { surveyVersion: recipe.revision_id }
- : {}),
+ surveyVersion: recipe.revision_id,
});
heartbeat.eventEmitter.once(