diff --git a/src/main/java/dev/struchkov/example/bot/unit/BalanceUnit.java b/src/main/java/dev/struchkov/example/bot/unit/BalanceUnit.java index 478ab80..e36ce02 100644 --- a/src/main/java/dev/struchkov/example/bot/unit/BalanceUnit.java +++ b/src/main/java/dev/struchkov/example/bot/unit/BalanceUnit.java @@ -44,7 +44,7 @@ public class BalanceUnit implements PersonUnitConfiguration { } ) .answer(() -> { - final TotalUsageResponse totalUsage = openAIClient.getTotalUsage(); + final TotalUsageResponse totalUsage = openAIClient.getTotalUsageInThisMount(); final double balance = totalUsage.getTotalUsage() / 100; return boxAnswer("Used in this month: $" + balance); })