Skip to content

Commit 7f27064

Browse files
authored
Escape curly braces in Webhooks doc
1 parent fae714b commit 7f27064

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

apps/docs/pages/webhooks.mdx

+7-7
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ cal.com/rick/quick-chat?metadata[user_id]=123
4646
As a result, the webhook will be returned in this format:
4747

4848
```text
49-
{ <other event details>, metadata: { user_id: 123 } }
49+
\{ <other event details>, metadata: \{ user_id: 123 \} \}
5050
```
5151

5252
## Custom Webhooks template variable list
@@ -86,13 +86,13 @@ Customizable webhooks are a great way reduce the development effort and in many
8686
### Example usage of variables for custom template:
8787

8888
```sh
89-
{
89+
\{
9090

9191
"content": "A new event has been scheduled",
92-
"type": "{{type}}",
93-
"name": "{{title}}",
94-
"organizer": "{{organizer.name}}",
95-
"booker": "{{attendees.0.name}}"
92+
"type": "\{\{type\}\}",
93+
"name": "\{\{title\}\}",
94+
"organizer": "\{\{organizer.name\}\}",
95+
"booker": "\{\{attendees.0.name\}\}"
9696

97-
}
97+
\}
9898
```

0 commit comments

Comments
 (0)