Skip to content

Commit

Permalink
Merge pull request #26 from salim-dev/patch-1
Browse files Browse the repository at this point in the history
Query bind: Bug: Error Convert Type
  • Loading branch information
apb2006 authored Sep 28, 2021
2 parents 81706e5 + 566cd44 commit e05c113
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function Query(session, query) {
* @return
*/
this.bind = function(name, value, type, callback) {
var type = "";
type = (!type) ? "" : type;
self.session.send_command({
/**
* Description
Expand Down Expand Up @@ -261,4 +261,4 @@ function Query(session, query) {
}
});
};
exports.Query = Query;
exports.Query = Query;

0 comments on commit e05c113

Please sign in to comment.