We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09ee46d commit 5d8c8bbCopy full SHA for 5d8c8bb
lib/client.js
@@ -172,7 +172,7 @@ p._pulseQueryQueue = function() {
172
173
p.query = function(config, values, callback) {
174
//can take in strings or config objects
175
- config = (config.text || config.name) ? config : { text: config };
+ config = (typeof(config) == 'string') ? { text: config } : config;
176
177
if(values) {
178
if(typeof values === 'function') {
0 commit comments