Explorar o código

fix: fix usage is not correct

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

+ 1 - 1
controller/billing.go

@@ -71,7 +71,7 @@ func GetUsage(c *gin.Context) {
 	}
 	usage := OpenAIUsageResponse{
 		Object:     "list",
-		TotalUsage: amount,
+		TotalUsage: amount * 100,
 	}
 	c.JSON(200, usage)
 	return