Skip to content

Commit

Permalink
fix: processor function
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardobridge committed Jan 24, 2024
1 parent 54e15d1 commit de972eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion performance/processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
};

Expand Down

0 comments on commit de972eb

Please sign in to comment.