Skip to content

Commit

Permalink
renamed function parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
aubreyarcangel committed Aug 4, 2023
1 parent 9e9559d commit c132df9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/site/filters/liquid.js
Original file line number Diff line number Diff line change
Expand Up @@ -1476,8 +1476,8 @@ module.exports = function registerFilters() {
};

liquid.filters.getSurvey = (buildtype, url) => {
const abTestSurvey = (num1, num2) => {
return Math.random() < 0.5 ? num1 : num2;
const abTestSurvey = (surveyA, surveyB) => {
return Math.random() < 0.5 ? surveyA : surveyB;
};

if (
Expand Down

0 comments on commit c132df9

Please sign in to comment.