prettier fix
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
This package is responsible for handling webhooks from database changes.
|
||||
|
||||
For example:
|
||||
|
||||
1. when an account is deleted, we handle the cleanup of all related data in the third-party services.
|
||||
2. when a user is invited, we send an email to the user.
|
||||
3. when an account member is added, we update the subscription in the third-party services
|
||||
@@ -21,4 +22,4 @@ WEBHOOK_SENDER_PROVIDER=svix
|
||||
|
||||
For example, you can add [https://docs.svix.com/quickstart]](Swix) as a webhook sender provider that receives webhooks from the database changes and forwards them to your application.
|
||||
|
||||
Svix is not implemented yet.
|
||||
Svix is not implemented yet.
|
||||
|
||||
@@ -6,7 +6,7 @@ const webhooksSecret = z
|
||||
.string({
|
||||
error: `Provide the variable SUPABASE_DB_WEBHOOK_SECRET. This is used to authenticate the webhook event from Supabase.`,
|
||||
})
|
||||
.describe(`The secret used to verify the webhook signature`,)
|
||||
.describe(`The secret used to verify the webhook signature`)
|
||||
.min(1)
|
||||
.parse(process.env.SUPABASE_DB_WEBHOOK_SECRET);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user