generated from nhcarrigan/template
feat: log entitlement purchases #3
@ -26,7 +26,7 @@ export const validateWebhook = (
|
||||
}
|
||||
const signature = request.headers["x-signature-ed25519"];
|
||||
const timestamp = request.headers["x-signature-timestamp"];
|
||||
const { rawBody } = request;
|
||||
const rawBody = request.rawBody ?? request.body;
|
||||
if (
|
||||
signature === undefined
|
||||
|| timestamp === undefined
|
||||
|
Reference in New Issue
Block a user