const bodySignature = crypto
.createHmac('sha256', process.env["WEBHOOK_SECRET"])
.update(JSON.stringify(req.body)) // or disable body parsing
.digest('hex');
if (bodySignature !== request.headers['x-artelo-signature']) {
return res.status(400).json({
code: 'invalid_signature',
error: 'Signature does not match',
});
}