Skip to content

Commit f4cd203

Browse files
fix: Update ManagementClientOptions to omit 'fetch' and clean up code formatting
1 parent 81b95d1 commit f4cd203

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/management/wrapper/ManagementClient.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export declare namespace ManagementClient {
2323
* @public
2424
*/
2525
export interface ManagementClientOptions
26-
extends Omit<FernClient.Options, "token" | "environment" | "fetcher" | "baseUrl"> {
26+
extends Omit<FernClient.Options, "token" | "environment" | "fetcher" | "baseUrl" | "fetch"> {
2727
/** Auth0 domain (e.g., 'your-tenant.auth0.com') */
2828
domain: string;
2929
/**
@@ -208,6 +208,7 @@ export class ManagementClient extends FernClient {
208208

209209
// Temporarily remove fetcher from options to avoid people passing it for now
210210
delete (_options as any).fetcher;
211+
delete (_options as any).fetch;
211212

212213
// Prepare the base client options
213214
let clientOptions: any = {

0 commit comments

Comments
 (0)