Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
calebtuttle committed Apr 25, 2024
1 parent 8b44f4d commit de24d7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/sybil-resistance.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ async function sybilResistanceGovId(req, res) {
const actionIdIsValid = actionId == actionIdInSBT;
const issuerIsValid = govIdIssuerAddress == issuerAddress;

return res.status(200).json({
result: issuerIsValid && actionIdIsValid,
});
if (actionIdIsValid && issuerIsValid) {
return res.status(200).json({ result: true });
}
} catch (err) {
// Do nothing
}
Expand Down

0 comments on commit de24d7f

Please sign in to comment.