Skip to content

Commit

Permalink
Resolve warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsm412 committed Aug 23, 2024
1 parent 21fac16 commit efe6f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rair-node/bin/api/contracts/contracts.Service.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ module.exports = {
blockchain: { $in: foundBlockchain.map((chain) => chain.hash) },
},
});
if (foundBlockchain.length === 0 && blockchain.length >= 1) {
if (foundBlockchain.length === 0 && blockchainArr.length >= 1) {
return next(new AppError('Invalid blockchain.', 404));
}

Expand Down

0 comments on commit efe6f9e

Please sign in to comment.