Skip to content

Commit

Permalink
fix: apply comma fixes for approximateCreditsReward
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkaroid committed Jun 29, 2022
1 parent b770c4a commit 08c0f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scraper/stats/statsGetController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export async function scrapeContent(url: string) {
average_server_growth_daily: averageIncrementRound,
average_server_growth_monthly: totalIncrement,
average_votes_growth_monthly: total_votes,
approximate_credits_rewards_monthly: `${approximateCreditsReward} USD`,
approximate_credits_rewards_monthly: `${approximateCreditsReward.toFixed(2)} USD`,
approximate_server_growth_three_months: approximateAfterThreeMonths,
approximate_server_growth_annually: approximateAfterYear
};
Expand Down

0 comments on commit 08c0f66

Please sign in to comment.