From 76f61cfd3a983d3513c010bd6572fbb879abb07d Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Thu, 20 Jul 2023 11:21:34 +0100 Subject: [PATCH] Lint --- packages/server/src/api/controllers/query/index.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/server/src/api/controllers/query/index.ts b/packages/server/src/api/controllers/query/index.ts index 466fe90e07..11ad25f037 100644 --- a/packages/server/src/api/controllers/query/index.ts +++ b/packages/server/src/api/controllers/query/index.ts @@ -246,9 +246,12 @@ async function execute( } const runFn = () => Runner.run(inputs) - const { rows, pagination, extra, info } = await quotas.addQuery(runFn, { - datasourceId: datasource._id, - }) + const { rows, pagination, extra, info } = await quotas.addQuery( + runFn, + { + datasourceId: datasource._id, + } + ) // remove the raw from execution incase transformer being used to hide data if (extra?.raw) { delete extra.raw