From 7f270649b4c41666fd67041b11b9da8fef5232b9 Mon Sep 17 00:00:00 2001 From: Bailey Pumfleet Date: Tue, 15 Mar 2022 16:35:24 +0000 Subject: [PATCH] Escape curly braces in Webhooks doc --- apps/docs/pages/webhooks.mdx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/docs/pages/webhooks.mdx b/apps/docs/pages/webhooks.mdx index 7fa18f38..24659a2e 100644 --- a/apps/docs/pages/webhooks.mdx +++ b/apps/docs/pages/webhooks.mdx @@ -46,7 +46,7 @@ cal.com/rick/quick-chat?metadata[user_id]=123 As a result, the webhook will be returned in this format: ```text -{ , metadata: { user_id: 123 } } +\{ , metadata: \{ user_id: 123 \} \} ``` ## Custom Webhooks template variable list @@ -86,13 +86,13 @@ Customizable webhooks are a great way reduce the development effort and in many ### Example usage of variables for custom template: ```sh -{ +\{ "content": "A new event has been scheduled", - "type": "{{type}}", - "name": "{{title}}", - "organizer": "{{organizer.name}}", - "booker": "{{attendees.0.name}}" + "type": "\{\{type\}\}", + "name": "\{\{title\}\}", + "organizer": "\{\{organizer.name\}\}", + "booker": "\{\{attendees.0.name\}\}" -} +\} ```