mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-05 22:03: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
|
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",
|
||||||
|
|||||||
Reference in New Issue
Block a user