mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-22 06:20:19 +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');
|
var mysql = require('mysql2');
|
||||||
const config = require('../config');
|
const config = require('../config');
|
||||||
|
|
||||||
function connect(sql, params) {
|
function connect() {
|
||||||
const connection = mysql.createConnection(config.db);
|
const connection = mysql.createConnection(config.db);
|
||||||
return connection;
|
return connection;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue