From 113a1124698aa8654e29e5a233613751d688260e Mon Sep 17 00:00:00 2001 From: moepoi Date: Mon, 15 Nov 2021 17:05:44 +0700 Subject: [PATCH] Remove unused parameters --- modules/db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }