Skip to content

Commit

Permalink
Typo error. In case options.source is correctly implemented I've stil…
Browse files Browse the repository at this point in the history
…l included the logic:

- `this._fetchOptions = options.source._fetchOptions || options.fetchOptions;`
- `this._callOptions = options.source._callOptions || options.callOptions;`
  • Loading branch information
wackyleo459 committed Nov 1, 2022
1 parent a9e7d5d commit 2ad9a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/agent/src/agent/http/index.ts
Expand Up @@ -187,7 +187,7 @@ export class HttpAgent implements Agent {
this._identity = options.source._identity;
this._fetch = options.source._fetch;
this._fetchOptions = options.source._fetchOptions || options.fetchOptions;
this._callOptions = options.source._fetchOptions || options.callOptions;
this._callOptions = options.source._callOptions || options.callOptions;
this._host = options.source._host;
this._credentials = options.source._credentials;
} else {
Expand Down

0 comments on commit 2ad9a20

Please sign in to comment.