This commit is contained in:
Joseph J Helfenbein
2025-01-25 03:24:47 -05:00
parent 3f87a76ed5
commit de0ee4626c

View File

@@ -37,7 +37,7 @@ export async function POST(req) {
try { try {
evt = wh.verify(payload, headers); evt = wh.verify(payload, headers);
} catch (err) { } catch (err) {
console.log('Invalid webhook signature'); console.error('Invalid webhook signature', err);
return NextResponse.json( return NextResponse.json(
{ message: 'Invalid webhook signature' }, { message: 'Invalid webhook signature' },
{ status: 400 } { status: 400 }