diff --git a/modules/db.js b/modules/db.js index 0681931..3715da1 100644 --- a/modules/db.js +++ b/modules/db.js @@ -1,7 +1,7 @@ var mysql = require('mysql2'); const config = require('../config'); -function connect(sql, params) { +function connect() { const connection = mysql.createConnection(config.db); return connection; }