Skip to content

Commit

Permalink
fix policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Atralupus committed Jan 23, 2025
1 parent 0a2aa06 commit 1611f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArenaService/Controllers/TicketController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public async Task<IActionResult> PurchaseRefreshTicket([FromBody] PurchaseTicket

for (int i = 0; i < request.TicketCount; i++)
{
requiredAmount += season.BattleTicketPolicy.GetPrice(purchasedCount + i);
requiredAmount += season.RefreshTicketPolicy.GetPrice(purchasedCount + i);
}

if (request.PurchasePrice != requiredAmount)
Expand Down

0 comments on commit 1611f79

Please sign in to comment.