Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Use the correct hmac header
Browse files Browse the repository at this point in the history
  • Loading branch information
byrichardpowell committed Oct 25, 2023
1 parent 0286078 commit 0be0055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shopify-api/lib/flow/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function validateFactory(config: ConfigInterface) {
fail(FlowValidationErrorReason.MissingBody, config);
}

const hmac = getHeader(request.headers, 'hmac');
const hmac = getHeader(request.headers, 'x-shopify-hmac-sha256');

if (!hmac) {
return fail(FlowValidationErrorReason.MissingHmac, config);
Expand Down

0 comments on commit 0be0055

Please sign in to comment.