1
0
Fork 0
mirror of synced 2024-06-28 02:50:50 +12:00

Minor fix for #8056 - don't return the raw data for the main query execution - but still return for the builder preview.

This commit is contained in:
mike12345567 2022-09-30 12:30:26 +01:00
parent c02e67f6c2
commit 6296849012

View file

@ -235,6 +235,10 @@ async function execute(
})
const { rows, pagination, extra } = await quotas.addQuery(runFn)
// remove the raw from execution incase transformer being used to hide data
if (extra?.raw) {
delete extra.raw
}
if (opts && opts.rowsOnly) {
ctx.body = rows
} else {