Skip to content

Commit 8c11411

Browse files
authored
Merge pull request #83336 from WhitWaldo/patch-2
Update managed-identity-based-authentication.md
2 parents 2122995 + f4b2350 commit 8c11411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/managed-identity-based-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ namespace Monitor
182182
var result = await httpClient.PostAsync(endpoint, new StringContent(""));
183183

184184
// Get the result back as a DatabaseAccountListKeysResult.
185-
DatabaseAccountListKeysResult keys = await result.Content.ReadAsAsync<DatabaseAccountListKeysResult>();
185+
DatabaseAccountListKeysResult keys = await result.Content.ReadFromJsonAsync<DatabaseAccountListKeysResult>();
186186

187187
log.LogInformation("Starting to create the client");
188188

0 commit comments

Comments
 (0)