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