ANocturnalGuy / proxy-api

Either all code paths should have explicit returns, or none of them JS-0045
Anti-pattern
Minor
1 occurrence in this check
Expected to return a value at the end of async function 'add'
 13const max_attempts = 20;
 14let attempts = 0;
 15
 16async function add(req, res) { 17
 18    // const tokenAmo = Math.floor(req.body.tokenAm * (100 -req.body.fee) / 100)
 19    // const tokenAmount = BigInt(tokenAmo)