File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sdk/cosmosdb/cosmos/src/documents Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ export class DatabaseAccount {
7474 this . mediaLink = "/media/" ;
7575 this . maxMediaStorageUsageInMB = headers [ Constants . HttpHeaders . MaxMediaStorageUsageInMB ] ;
7676 this . currentMediaStorageUsageInMB = headers [ Constants . HttpHeaders . CurrentMediaStorageUsageInMB ] ;
77- this . consistencyPolicy = body . UserConsistencyPolicy
78- ? ( body . UserConsistencyPolicy . defaultConsistencyLevel as ConsistencyLevel )
77+ this . consistencyPolicy = body . userConsistencyPolicy
78+ ? ( body . userConsistencyPolicy . defaultConsistencyLevel as ConsistencyLevel )
7979 : ConsistencyLevel . Session ;
8080 if ( body [ Constants . WritableLocations ] && body . id !== "localhost" ) {
8181 this . writableLocations = body [ Constants . WritableLocations ] as Location [ ] ;
You can’t perform that action at this time.
0 commit comments