File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ export abstract class APIClient {
163163 maxRetries = 2 ,
164164 timeout = 60000 , // 1 minute
165165 httpAgent,
166- fetch : overridenFetch ,
166+ fetch : overriddenFetch ,
167167 } : {
168168 baseURL : string ;
169169 maxRetries ?: number | undefined ;
@@ -176,7 +176,7 @@ export abstract class APIClient {
176176 this . timeout = validatePositiveInteger ( 'timeout' , timeout ) ;
177177 this . httpAgent = httpAgent ;
178178
179- this . fetch = overridenFetch ?? fetch ;
179+ this . fetch = overriddenFetch ?? fetch ;
180180 }
181181
182182 protected authHeaders ( opts : FinalRequestOptions ) : Headers {
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ describe('instantiate client', () => {
190190 expect ( client . apiKey ) . toBe ( 'My API Key' ) ;
191191 } ) ;
192192
193- test ( 'with overriden environment variable arguments' , ( ) => {
193+ test ( 'with overridden environment variable arguments' , ( ) => {
194194 // set options via env var
195195 process . env [ 'INCREASE_API_KEY' ] = 'another My API Key' ;
196196 const client = new Increase ( { apiKey : 'My API Key' } ) ;
You can’t perform that action at this time.
0 commit comments