fix: fix usage is not correct
Some checks failed
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled

This commit is contained in:
JustSong 2023-06-25 09:36:26 +08:00
parent f2ba0c0300
commit 1ca1aa0cdc

View File

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