allow all user bindings in SQL queries (#9354)

This commit is contained in:
Martin McKeaveney 2023-01-16 12:24:32 +00:00 committed by GitHub
parent b4abc63797
commit fbf8230a3d
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class QueryRunner {
let query let query
// handle SQL injections by interpolating the variables // handle SQL injections by interpolating the variables
if (isSQL(datasourceClone)) { if (isSQL(datasourceClone)) {
query = interpolateSQL(fieldsClone, enrichedParameters, integration) query = interpolateSQL(fieldsClone, enrichedContext, integration)
} else { } else {
query = enrichQueryFields(fieldsClone, enrichedContext) query = enrichQueryFields(fieldsClone, enrichedContext)
} }