Potential fix fo #2

This commit is contained in:
Logan Cusano
2023-03-12 03:47:49 -04:00
parent 72134b1b7b
commit ffacd19883
3 changed files with 102 additions and 59 deletions

View File

@@ -52,9 +52,9 @@ function returnMysqlTime(){
}
class Storage {
constructor(_dbTable, connection = undefined) {
constructor(_dbTable, _connection) {
this.dbTable = _dbTable;
this.connection = connection
this.connection = _connection;
this.validKeys = [];
var sqlQuery = `SHOW COLUMNS FROM ${this.dbTable};`;