Triple ===
This commit is contained in:
@@ -16,7 +16,7 @@ module.exports.query = function (username, api_key, sql, callback) {
|
||||
var qs = { q: sql };
|
||||
|
||||
// add api_key if given
|
||||
if (_.isString(api_key) && api_key != '') { qs.api_key = api_key; }
|
||||
if (_.isString(api_key) && api_key !== '') { qs.api_key = api_key; }
|
||||
|
||||
// call sql api
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user