Skip to content

Commit

Permalink
add lowercase onramper header
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosQ96 committed Nov 16, 2022
1 parent 60d6c71 commit 206b1c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/onramper/webhookHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export async function onramperWebhookHandler(request, response) {
// just log to test stuff
logger.info(
'onramperWebhookHandler header',
request.headers['X-Onramper-Webhook-Signature'],
request.headers['X-Onramper-Webhook-Signature'] ||
request.headers['x-onramper-webhook-signature'],
);
logger.info('onramperWebhookHandler body', JSON.stringify(request.body));
// logic is on another branch this is temporary
Expand Down

0 comments on commit 206b1c1

Please sign in to comment.