Skip to content

Commit

Permalink
chore: except one more store
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgnreis committed Feb 5, 2024
1 parent 96f7fed commit f911331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/routes/pagarme/postback.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exports.post = ({ appSdk }, req, res) => {
console.log('checking pagarme', pagarme.postback.verifySignature(apiKey, verifyBody, signature))
}

if (!pagarme.postback.verifySignature(apiKey, verifyBody, signature) && (storeId != 51372) && verifyBody && signature) {
if (!pagarme.postback.verifySignature(apiKey, verifyBody, signature) && ((storeId != 51372) || (storeId != 1123)) && verifyBody && signature) {
return res.sendStatus(403)
}

Expand Down

0 comments on commit f911331

Please sign in to comment.