diff options
Diffstat (limited to 'database.js')
-rw-r--r-- | database.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/database.js b/database.js index d8e2d92..1f5b68f 100644 --- a/database.js +++ b/database.js @@ -44,8 +44,7 @@ class Database { this.pool.query(query, (err, res, fields) => { - if (err) - reject(err) + if (err) reject(err); resolve(res); }); }) |