Skip to content

Commit 046b6c7

Browse files
committed
Fixes
1 parent e1772a4 commit 046b6c7

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

articles/event-grid/auth0-log-stream-blob-storage.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ This article shows you how to send Auth0 events to Azure Blob Storage via Azure
1515

1616
## Create an Azure function
1717
1. Create an Azure function by following instructions from the **Create a local project** section of [Quickstart: Create a JavaScript function in Azure using Visual Studio Code](../azure-functions/create-first-function-vs-code-node.md?pivots=nodejs-model-v3).
18-
1. Select **Azure Event Grid trigger** for the function template instead of **HTTP trigger** as mentioned in the quickstart.
19-
1. Continue to follow the steps, but use the following **index.js** and **function.json** files.
18+
1. Select **Azure Event Grid trigger** for the function template instead of **HTTP trigger** as mentioned in the quickstart.
19+
1. Continue to follow the steps, but use the following **index.js** and **function.json** files.
2020

21-
> [!IMPORTANT]
22-
> Update the **package.json** to include `@azure/storage-blob` as a dependency.
21+
> [!IMPORTANT]
22+
> Update the **package.json** to include `@azure/storage-blob` as a dependency.
2323
24-
**function.json**
24+
**function.json**
2525

26-
```json
26+
```json
2727
{
2828
"bindings": [{
2929
"type": "eventGridTrigger",
@@ -41,11 +41,11 @@ This article shows you how to send Auth0 events to Azure Blob Storage via Azure
4141
}
4242
]
4343
}
44-
```
44+
```
4545

46-
**index.js**
46+
**index.js**
4747

48-
```javascript
48+
```javascript
4949
// Event Grid always sends an array of data and may send more
5050
// than one event in the array. The runtime invokes this function
5151
// once for each array element, so we are always dealing with one.
@@ -56,7 +56,8 @@ This article shows you how to send Auth0 events to Azure Blob Storage via Azure
5656

5757
context.bindings.outputBlob = JSON.stringify(eventGridEvent);
5858
};
59-
```
59+
```
60+
6061
1. Create an Azure function app using instructions from [Quick function app create](../azure-functions/functions-develop-vs-code.md?tabs=csharp#quick-function-app-create).
6162
1. Deploy your function to the function app on Azure using instructions from [Deploy project files](../azure-functions/functions-develop-vs-code.md?tabs=csharp#republish-project-files).
6263

0 commit comments

Comments
 (0)