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 {
74
74
this . mediaLink = "/media/" ;
75
75
this . maxMediaStorageUsageInMB = headers [ Constants . HttpHeaders . MaxMediaStorageUsageInMB ] ;
76
76
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 )
79
79
: ConsistencyLevel . Session ;
80
80
if ( body [ Constants . WritableLocations ] && body . id !== "localhost" ) {
81
81
this . writableLocations = body [ Constants . WritableLocations ] as Location [ ] ;
You can’t perform that action at this time.
0 commit comments