From de972eb43c5d3ca72ce0fc75f22fb49f6a134979 Mon Sep 17 00:00:00 2001 From: Bernardo Guerreiro Date: Wed, 24 Jan 2024 15:59:55 +0000 Subject: [PATCH] fix: processor function --- performance/processor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/performance/processor.js b/performance/processor.js index 305858d..a239e87 100644 --- a/performance/processor.js +++ b/performance/processor.js @@ -6,7 +6,7 @@ function getRandomMovieId(req, res, context, ee, next) { } const randomMovie = movies[Math.floor(Math.random() * movies.length)]; - context.vars.getRandomMovieId = randomMovie.id; + context.vars.movieId = randomMovie.id; next(); };