mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-21 22:06:26 +01:00
Remove unused parameters
This commit is contained in:
parent
d237aad3d6
commit
113a112469
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue