chore: update the number that representing the unlimited quota
This commit is contained in:
parent
6b1a24d650
commit
4a6a7f4635
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user