Skip to content

Commit 218588e

Browse files
author
Ilya Radchenko
committed
Merge pull request #13 from oliversalzburg/fix/12
Don't pre-parse JSON responses
2 parents cdb1d16 + 184d0bf commit 218588e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/api.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ function get(config, uri, callback) {
2222
url = config.api_url + '/' + uri + glue + qs.stringify(qpm);
2323

2424
request.get({
25-
url: url,
26-
json: true
25+
url: url
2726
}, function(err, res) {
2827
if (err) {
2928
return callback(err);

0 commit comments

Comments
 (0)