mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-07 22:53:41 +08:00
fix: fix usage is not correct
This commit is contained in:
@@ -71,7 +71,7 @@ func GetUsage(c *gin.Context) {
|
||||
}
|
||||
usage := OpenAIUsageResponse{
|
||||
Object: "list",
|
||||
TotalUsage: amount,
|
||||
TotalUsage: amount * 100,
|
||||
}
|
||||
c.JSON(200, usage)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user