Skip to content
Snippets Groups Projects
Commit e4cc9ada authored by Ayham Alzoubi's avatar Ayham Alzoubi
Browse files

fixing connection error rejest

Lucio says this return is needed, I'm not sure of it but I believe
parent 0d905548
Branches
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ DB.prototype.query = function (query, params) {
con.release();
}
reject(err);
return reject(err);
}
con.query(query, params, function (err) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment