Skip to content

Commit

Permalink
explicitly include user agent to superagent request, fixes breaking c…
Browse files Browse the repository at this point in the history
…hange from superagent v5.1.0 for lambtron#1
  • Loading branch information
comster committed Oct 3, 2019
1 parent 7680fbb commit 7323431
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ exports.get = function get(uri) {
return function(fn) {
request
.get(uri)
.set('User-Agent', 'superagent')
.end(fn);
};
};

0 comments on commit 7323431

Please sign in to comment.