Explorar o código

chore: update the number that representing the unlimited quota

JustSong %!s(int64=2) %!d(string=hai) anos
pai
achega
4a6a7f4635
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controller/billing.go

+ 1 - 1
controller/billing.go

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