feat: use global request options for global settings pass-thru (timeout, proxy, any other custom settings as desired)
This commit is contained in:
@@ -82,6 +82,7 @@ module.exports = class RequestUtil {
|
||||
}
|
||||
|
||||
const options = {
|
||||
...this.globalRequestOptions,
|
||||
url: [this.baseUrl, endpoint].join('/'),
|
||||
method: method,
|
||||
json: true
|
||||
|
||||
Reference in New Issue
Block a user