Skip to content

Commit

Permalink
chore: modify percentage calculation logic in sellers dashboard stati…
Browse files Browse the repository at this point in the history
…stics endpoint
  • Loading branch information
sandronadiradze committed Nov 5, 2024
1 parent 37f2129 commit 73440a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auction/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,7 @@ def get(self, request):
/ last_month_winning_bid_count
) * 100
else:
percentage_increase = 100
percentage_increase = 100 if monthly_winning_bid_count > 0 else 0

return Response(
{
Expand Down

0 comments on commit 73440a6

Please sign in to comment.