From 4a6a7f463592f67b923d8025e736cdf1c7249431 Mon Sep 17 00:00:00 2001 From: JustSong Date: Sun, 25 Jun 2023 10:52:46 +0800 Subject: [PATCH] chore: update the number that representing the unlimited quota --- controller/billing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/billing.go b/controller/billing.go index da1ef13d..a45253ab 100644 --- a/controller/billing.go +++ b/controller/billing.go @@ -33,7 +33,7 @@ func GetSubscription(c *gin.Context) { amount /= common.QuotaPerUnit } if token != nil && token.UnlimitedQuota { - amount = 99999999.9999 + amount = 100000000 } subscription := OpenAISubscriptionResponse{ Object: "billing_subscription",