fix db release

This commit is contained in:
Jay 2018-07-16 10:47:43 +08:00
parent 702a6db83b
commit aec6232cc6

View File

@ -63,7 +63,7 @@ class WS {
})
// release pool connection
await db.replace()
await db.release()
if (result !== null && result.rowCount > 0) {
for (let row of result.rows) {