chore: update the number that representing the unlimited quota

This commit is contained in:
JustSong 2023-06-25 10:52:46 +08:00
parent 6b1a24d650
commit 4a6a7f4635

View File

@ -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",