Skip to content

Commit

Permalink
slight mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishwas1 committed Jul 30, 2021
1 parent 782231a commit dd259a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/controllers/investor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async function addInvestor(req: Request, res: Response, next: NextFunction) {

// update the refere followers
const updateParams = {
numberOfReferals: (investor.numberOfReferals + 1) * REFFERAL_MULTIPLIER
numberOfReferals: (investor.numberOfReferals + ( 1 * REFFERAL_MULTIPLIER))
};

logger.info("InvestorController:: addInvestor(): updateParams = " + JSON.stringify(updateParams));
Expand Down

0 comments on commit dd259a7

Please sign in to comment.