Speech as a package #416
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
This should probably be This should probably be `new Mysql()` since it is a class function
|
||||
const logger = require('winston');
|
||||
|
||||
function mysql () {
|
||||
This should probably be This should probably be `new Mysql()` since it is a class function
|
||||
function MysqlConfig () {
|
||||
This should probably be This should probably be `new Mysql()` since it is a class function
|
||||
this.database = 'default';
|
||||
this.username = 'default';
|
||||
this.password = 'default';
|
||||
|
@ -17,4 +17,4 @@ function mysql () {
|
|||
This should probably be This should probably be `new Mysql()` since it is a class function
This should probably be This should probably be `new Mysql()` since it is a class function
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = new mysql();
|
||||
This should probably be This should probably be `new Mysql()` since it is a class function
|
||||
module.exports = new MysqlConfig();
|
||||
This should probably be This should probably be `new Mysql()` since it is a class function
|
||||
|
|
|||
This should probably be This should probably be `new Mysql()` since it is a class function
This should probably be This should probably be `new Mysql()` since it is a class function
|
Loading…
Reference in a new issue
This should probably be
new Mysql()
since it is a class function