diff options
author | Joel Kronqvist <joelkronqvist@proton.me> | 2023-06-26 17:22:32 +0000 |
---|---|---|
committer | Joel Kronqvist <joelkronqvist@proton.me> | 2023-06-26 17:22:32 +0000 |
commit | 330012395587fe87ce36c29b3c5d1941aa022d0b (patch) | |
tree | 7018bc2250937b5ed724d0b37e55d992a4d3d986 /database.js | |
parent | 7f59612f4ad1061c99ae53ef92baf04511b7f9af (diff) | |
download | LYLLRuoka-devel.tar.gz LYLLRuoka-devel.zip |
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); }); }) |