packages/benefits/src/controller/UpdateBenefitResolve.js
Showing 1 of 1 total issue
Consider simplifying this complex logical expression. Open
Open
if (title === "" || description === "" || redeem_way === "" || title === null || description === null || redeem_way === null || quantity === null ) { throw { error: "Fill request.body correctly, cannot be an empty string or null value "}; }