fix db release

This commit is contained in:
root committed 2018-07-16 10:47:43 +08:00
1 parent 702a6db83b
commit aec6232cc6
1 file changed
+1 -1
+1 -1
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) {