x
This commit is contained in:
1 parent
32e9fd5ac6
commit
658a08f8dc
1 file changed
+1
-1
@@ -11,7 +11,7 @@ const webhookHandler = async ({ request, body, set }: { request: Request, body:
|
||||
return { error: 'Missing Signature' };
|
||||
}
|
||||
|
||||
// In our global onParse hook, we intercepted the body and returned it as a raw text string.
|
||||
// xxIn our global onParse hook, we intercepted the body and returned it as a raw text string.
|
||||
const rawBody = typeof body === 'string' ? body : JSON.stringify(body);
|
||||
|
||||
if (!rawBody) {
|
||||
|
||||
Reference in new issue
Block a user