From 1ca1aa0cdc1d43bec7dc56b78bdd19d2ab455f16 Mon Sep 17 00:00:00 2001 From: JustSong Date: Sun, 25 Jun 2023 09:36:26 +0800 Subject: [PATCH] fix: fix usage is not correct --- controller/billing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/billing.go b/controller/billing.go index ec8e3ce3..7bc63425 100644 --- a/controller/billing.go +++ b/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