Added missing request context for user bindings

This commit is contained in:
Dean 2022-06-20 11:11:15 +01:00
parent 3b68abf407
commit 523bb63455
1 changed files with 3 additions and 0 deletions

View File

@ -175,6 +175,9 @@ async function execute(ctx: any, opts = { rowsOnly: false }) {
parameters: enrichedParameters,
transformer: query.transformer,
queryId: ctx.params.queryId,
ctx: {
user: ctx.user,
},
})
const { rows, pagination, extra } = await quotas.addQuery(runFn)