Skip to content

Commit 1057eed

Browse files
authored
[4.6] cherry-pick #1363 CosmosClientOptions fix (#1367)
* cherry-pick #1363 CosmosClientOptions fix * Fixed passing of CosmosClientOptions * added test for CosmosClientOptions
1 parent 5d14feb commit 1057eed

9 files changed

+1085
-1004
lines changed

libraries/botbuilder-azure/src/cosmosDbPartitionedStorage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export class CosmosDbPartitionedStorage implements Storage {
205205
this.client = new CosmosClient({
206206
endpoint: this.cosmosDbStorageOptions.cosmosDbEndpoint,
207207
key: this.cosmosDbStorageOptions.authKey,
208-
...this.cosmosDbStorageOptions,
208+
...this.cosmosDbStorageOptions.cosmosClientOptions,
209209
});
210210
}
211211

0 commit comments

Comments
 (0)