linting
This commit is contained in:
parent
cd0885f468
commit
2b5d81be12
|
@ -166,12 +166,15 @@ export async function preview(ctx: any) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function execute(ctx: any, opts = { rowsOnly: false, isAutomation: false }) {
|
async function execute(
|
||||||
|
ctx: any,
|
||||||
|
opts = { rowsOnly: false, isAutomation: false }
|
||||||
|
) {
|
||||||
const db = getAppDB()
|
const db = getAppDB()
|
||||||
|
|
||||||
const query = await db.get(ctx.params.queryId)
|
const query = await db.get(ctx.params.queryId)
|
||||||
const datasource = await db.get(query.datasourceId)
|
const datasource = await db.get(query.datasourceId)
|
||||||
|
|
||||||
let authConfigCtx: any = {}
|
let authConfigCtx: any = {}
|
||||||
if (!opts.isAutomation) {
|
if (!opts.isAutomation) {
|
||||||
authConfigCtx = getAuthConfig(ctx)
|
authConfigCtx = getAuthConfig(ctx)
|
||||||
|
|
Loading…
Reference in New Issue