Skip to content

Commit 3e4fed6

Browse files
committed
fix build
1 parent 1718ce8 commit 3e4fed6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/http/fetch/src/fetchRequestAdapter.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* -------------------------------------------------------------------------------------------
66
*/
77

8-
import { type ApiError, type AuthenticationProvider, type BackingStoreFactory, BackingStoreFactorySingleton, type DateOnly, DefaultApiError, type Duration, enableBackingStoreForParseNodeFactory, enableBackingStoreForSerializationWriterFactory, type ErrorMappings, type Parsable, type ParsableFactory, type ParseNode, type ParseNodeFactory, ParseNodeFactoryRegistry, type PrimitiveTypesForDeserialization, type PrimitiveTypesForDeserializationType, type RequestAdapter, type RequestInformation, type ResponseHandler, type ResponseHandlerOption, ResponseHandlerOptionKey, type SerializationWriterFactory, SerializationWriterFactoryRegistry, type TimeOnly } from "@microsoft/kiota-abstractions";
8+
import { type ApiError, type AuthenticationProvider, type BackingStoreFactory, BackingStoreFactorySingleton, type DateOnly, DefaultApiError, type Duration, enableBackingStoreForSerializationWriterFactory, type ErrorMappings, type Parsable, type ParsableFactory, type ParseNode, type ParseNodeFactory, ParseNodeFactoryRegistry, type PrimitiveTypesForDeserialization, type PrimitiveTypesForDeserializationType, type RequestAdapter, type RequestInformation, type ResponseHandler, type ResponseHandlerOption, ResponseHandlerOptionKey, type SerializationWriterFactory, SerializationWriterFactoryRegistry, type TimeOnly } from "@microsoft/kiota-abstractions";
99
import { type Span, SpanStatusCode, trace } from "@opentelemetry/api";
1010

1111
import { HttpClient } from "./httpClient";
@@ -57,7 +57,7 @@ export class FetchRequestAdapter implements RequestAdapter {
5757
} else {
5858
this.observabilityOptions = new ObservabilityOptionsImpl(observabilityOptions);
5959
}
60-
this.backingStoreFactory = new InMemoryBackingStoreFactory();
60+
BackingStoreFactorySingleton.backingStoreFactory = new InMemoryBackingStoreFactory();
6161
}
6262
private readonly getResponseContentType = (response: Response): string | undefined => {
6363
const header = response.headers.get("content-type")?.toLowerCase();

0 commit comments

Comments
 (0)