Commit a75364d2 by JustSong

chore: update the number that representing the unlimited quota

parent 27177ee1
...@@ -33,7 +33,7 @@ func GetSubscription(c *gin.Context) { ...@@ -33,7 +33,7 @@ func GetSubscription(c *gin.Context) {
amount /= common.QuotaPerUnit amount /= common.QuotaPerUnit
} }
if token != nil && token.UnlimitedQuota { if token != nil && token.UnlimitedQuota {
amount = 99999999.9999 amount = 100000000
} }
subscription := OpenAISubscriptionResponse{ subscription := OpenAISubscriptionResponse{
Object: "billing_subscription", Object: "billing_subscription",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment