Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql

This commit is contained in:
Martin McKeaveney 2021-06-16 15:54:17 +01:00
commit 36f8338931
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ const TYPE_MAP = {
async function internalQuery(client, sql) { async function internalQuery(client, sql) {
try { try {
return await client.query(sql) return await client.query(sql.sql, sql.bindings)
} catch (err) { } catch (err) {
throw new Error(err) throw new Error(err)
} }