We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0e6510 commit 7ca747eCopy full SHA for 7ca747e
query.js
@@ -30,7 +30,7 @@ function processEntry(query, entry) {
30
entry.options = {};
31
entry.callback({
32
code: (res ? res.statusCode : 0),
33
- message: (body ? (body.status !== "ok" ? body.status : (body.data.length > 0 ? body.data[0] : err)) : err)
+ message: (body ? (body.data.length > 0 ? body.data[0] : (body.status ? body.status : err)) : err)
34
});
35
}
36
0 commit comments