diff --git a/modules/db.js b/modules/db.js index 2df463c..10e5871 100644 --- a/modules/db.js +++ b/modules/db.js @@ -13,6 +13,11 @@ function connect() { return connection; } +function disconnect(connection) { + connection.end(); +} + module.exports = { - connect + connect, + disconnect } \ No newline at end of file