diff --git a/packages/server/src/threads/query.js b/packages/server/src/threads/query.js index fb82d2b12f..fd04f10fb6 100644 --- a/packages/server/src/threads/query.js +++ b/packages/server/src/threads/query.js @@ -46,7 +46,10 @@ class QueryRunner { // transform as required if (transformer) { - const runner = new ScriptRunner(transformer, { data: rows }) + const runner = new ScriptRunner(transformer, { + data: rows, + params: parameters, + }) rows = runner.execute() }