diff --git a/libs/twitch-bot/index.js b/libs/twitch-bot/index.js index 7a446fe..bef0f3d 100644 --- a/libs/twitch-bot/index.js +++ b/libs/twitch-bot/index.js @@ -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) {