From 821cff392c8df18fb4b51ba0251f16bb66ff47e6 Mon Sep 17 00:00:00 2001 From: Dean Date: Thu, 24 Nov 2022 10:16:05 +0000 Subject: [PATCH] User/Auth context now being passed to dynamic variable request updates --- packages/server/src/threads/query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/threads/query.ts b/packages/server/src/threads/query.ts index 86cbf89c87..a9e7e6f47c 100644 --- a/packages/server/src/threads/query.ts +++ b/packages/server/src/threads/query.ts @@ -58,7 +58,6 @@ class QueryRunner { async execute(): Promise { let { datasource, fields, queryVerb, transformer } = this - let datasourceClone = cloneDeep(datasource) let fieldsClone = cloneDeep(fields) @@ -181,6 +180,7 @@ class QueryRunner { parameters, transformer: query.transformer, queryId, + ctx: this.ctx, }, { noRecursiveQuery: true } ).execute()