Skip to content

Commit

Permalink
fix: fix money count
Browse files Browse the repository at this point in the history
  • Loading branch information
edikgoose committed Dec 8, 2023
1 parent c058290 commit dedb0eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class MoneyService(
user
.type.getPrice()
.also {
val moneyAmount = (MINUTES_IN_HOUR / it) * minutes
val moneyAmount = (it / MINUTES_IN_HOUR) * minutes
paymentMethod.pay(user, moneyAmount)

return userTransactionStatisticsRepository.save(
Expand Down

0 comments on commit dedb0eb

Please sign in to comment.