Fixing query row.
This commit is contained in:
parent
6699b202b4
commit
7cf20ef16c
|
@ -152,7 +152,7 @@ export async function run({
|
||||||
|
|
||||||
return {
|
return {
|
||||||
rows,
|
rows,
|
||||||
success: ctx.status === 200,
|
success: !!ctx.body.rows,
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue