Skip to content

Commit 0316a8f

Browse files
Documentation edits made through Mintlify web editor
1 parent 28e5033 commit 0316a8f

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

docs/guides/frameworks/supabase-edge-functions-database-webhooks.mdx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -189,14 +189,13 @@ Then, go to 'Database' click on 'Webhooks', and then click 'Create a new hook'.
189189

190190
![How to create a new webhook](/images/supabase-create-webhook-1.png)
191191

192-
Call the hook `edge-function-hook`:
193-
194-
1. Select the new table you have created: `public` `skynet`.
195-
2. Choose the `insert` event.
196-
3. Under 'Webhook configuration', select 'Supabase Edge functions'
197-
4. Under 'Edge function', choose `POST` and select the edge function you have created: `database-webhook`.
198-
5. Under 'Headers', add a new header with the key `Authorization` and the value `Bearer <your-api-key>` (replace `<your-api-key>` with the `anon` `public` API key you copied earlier).
199-
6. Click 'Create webhook'.
192+
1. Call the hook `edge-function-hook`:
193+
2. Select the new table you have created: `public` `skynet`.
194+
3. Choose the `insert` event.
195+
4. Under 'Webhook configuration', select 'Supabase Edge functions'
196+
5. Under 'Edge function', choose `POST` and select the edge function you have created: `database-webhook`.
197+
6. Under 'Headers', add a new header with the key `Authorization` and the value `Bearer <your-api-key>` (replace `<your-api-key>` with the `anon` `public` API key you copied earlier).
198+
7. Click 'Create webhook'.
200199

201200
![How to create a new webhook 2](/images/supabase-create-webhook-2.png)
202201
![How to create a new webhook 3](/images/supabase-create-webhook-3.png)

0 commit comments

Comments
 (0)