Skip to content

Commit 6ad407c

Browse files
stainless-app[bot]dackerman
authored andcommitted
chore(internal): fix some typos (#2251)
1 parent 03ef5f0 commit 6ad407c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/core.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {

tests/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ describe('instantiate client', () => {
231231
expect(client.apiEmail).toBe('[email protected]');
232232
});
233233

234-
test('with overriden environment variable arguments', () => {
234+
test('with overridden environment variable arguments', () => {
235235
// set options via env var
236236
process.env['CLOUDFLARE_API_KEY'] = 'another 144c9defac04969c7bfad8efaa8ea194';
237237
process.env['CLOUDFLARE_EMAIL'] = 'another [email protected]';

0 commit comments

Comments
 (0)