Skip to content

Commit f84fa67

Browse files
authored
(webhooks/sync-data) stringify the payload (#2026)
1 parent 71f2d32 commit f84fa67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/webhooks/sync-data.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ These steps apply to any Clerk event. To make the setup process easier, it's rec
209209
// If successful, the payload will be available from 'evt'
210210
// If verification fails, error out and return error code
211211
try {
212-
evt = wh.verify(payload, {
212+
evt = wh.verify(JSON.stringify(payload), {
213213
'svix-id': svix_id as string,
214214
'svix-timestamp': svix_timestamp as string,
215215
'svix-signature': svix_signature as string,

0 commit comments

Comments
 (0)