Skip to content

Commit

Permalink
Resolve #102
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidney Andrews committed Aug 19, 2020
1 parent 8132ddf commit 37d7dd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Instructions/Labs/AZ-204_07_lab.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ In this exercise, you used a service identity to read the value of a secret stor
1. Use the **BlobClient.DownloadAsync** method to download the contents of the referenced blob asynchronously and store the result in a variable named *response*:
```
var response = await blobClient.DownloadAsync();
var response = await blob.DownloadAsync();
```
1. Return the value of the various content stored in the *content* variable by using the **FileStreamResult** class constructor:
Expand Down
4 changes: 2 additions & 2 deletions Instructions/Labs/AZ-204_07_lab_ak.md
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ In this exercise, you used a service identity to read the value of a secret stor
1. Add the following line of code to use the **BlobClient.DownloadAsync** method to download the contents of the referenced blob asynchronously and store the result in a variable named *response*:
```
var response = await blobClient.DownloadAsync();
var response = await blob.DownloadAsync();
```
1. Add the following line of code to return the various content stored in the *content* variable by using the **FileStreamResult** class constructor:
Expand All @@ -699,7 +699,7 @@ In this exercise, you used a service identity to read the value of a secret stor
{
string connectionString = Environment.GetEnvironmentVariable("StorageConnectionString");
BlobClient blob = new BlobClient(connectionString, "drop", "records.json");
var response = await blobClient.DownloadAsync();
var response = await blob.DownloadAsync();
return new FileStreamResult(response?.Value?.Content, response?.Value?.ContentType);
}
```
Expand Down

0 comments on commit 37d7dd2

Please sign in to comment.