diff --git a/lib/close.io.js b/lib/close.io.js index 4aaffb6..4d7eaee 100644 --- a/lib/close.io.js +++ b/lib/close.io.js @@ -23,9 +23,7 @@ var Closeio = function(apiKey) { } var option_keys = Object.keys(options); - if (options.query) { - parameters.query = options.query; - } else if (option_keys.length > 0) { + if (option_keys.length > 0) { parameters.query = ''; option_keys.forEach(function(option) { var option_wrapper = (!/^".*"$/.test(option) && / +/.test(option)) ? '"' : '';