Skip to content

Commit a6c1841

Browse files
Refactor HttpClient to initialize isHandlerEnabled as undefined
1 parent fa86b2e commit a6c1841

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/browser/src/__legacy__/http-client/clients/axios-http-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import {HttpClientInstance, HttpClientInterface, HttpClientStatic} from '../mode
4343
export class HttpClient implements HttpClientInterface<HttpRequestConfig, HttpResponse, HttpError> {
4444
private static instances: Map<number, HttpClientInstance> = new Map();
4545
private static clientInstances: Map<number, HttpClient> = new Map();
46-
private isHandlerEnabled: boolean = true;
46+
private isHandlerEnabled: boolean;
4747
private attachToken: (request: HttpRequestConfig) => Promise<void> = () => Promise.resolve();
4848
private requestStartCallback: (request: HttpRequestConfig) => void = () => null;
4949
private requestSuccessCallback: (response: HttpResponse) => void = () => null;

0 commit comments

Comments
 (0)