From a7bb952dbf55017ff2fc6336466f0aca53136b7e Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 4 Jan 2022 15:50:18 +0000 Subject: [PATCH] Fixing issue discovered where parameters weren't selected correctly. --- packages/server/src/api/controllers/query/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/api/controllers/query/index.js b/packages/server/src/api/controllers/query/index.js index 4c7c7398be..6001b81aa9 100644 --- a/packages/server/src/api/controllers/query/index.js +++ b/packages/server/src/api/controllers/query/index.js @@ -144,7 +144,7 @@ async function execute(ctx, opts = { rowsOnly: false }) { datasource, queryVerb: query.queryVerb, fields: query.fields, - parameters: ctx.request.body.parameter, + parameters: ctx.request.body.parameters, transformer: query.transformer, queryId: ctx.params.queryId, })