Skip to content

Commit

Permalink
feat: use global request options for global settings pass-thru (timeo…
Browse files Browse the repository at this point in the history
…ut, proxy, any other custom settings as desired)
  • Loading branch information
tiagosiebler committed Oct 5, 2020
1 parent 3df54c3 commit 0717a12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/util/requestWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ module.exports = class RequestUtil {
}

const options = {
...this.globalRequestOptions,
url: [this.baseUrl, endpoint].join('/'),
method: method,
json: true
Expand Down

0 comments on commit 0717a12

Please sign in to comment.