fix db release
This commit is contained in:
parent
702a6db83b
commit
aec6232cc6
@ -63,7 +63,7 @@ class WS {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// release pool connection
|
// release pool connection
|
||||||
await db.replace()
|
await db.release()
|
||||||
|
|
||||||
if (result !== null && result.rowCount > 0) {
|
if (result !== null && result.rowCount > 0) {
|
||||||
for (let row of result.rows) {
|
for (let row of result.rows) {
|
||||||
|
Loading…
Reference in New Issue
Block a user