mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-05 13:53:42 +08:00
chore: update the number that representing the unlimited quota
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user