Remove unused parameters

This commit is contained in:
Moe Poi ~ 2021-11-15 17:05:44 +07:00
parent d237aad3d6
commit 113a112469

View file

@ -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;
}