mirror of
				https://github.com/songquanpeng/one-api.git
				synced 2025-11-04 07:43: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