修改错误提示
This commit is contained in:
1 parent
823a7aa898
commit
35a3c61021
6 files changed
+14
-6
No files matched your search
@@ -71,7 +71,7 @@ func GetUsage(c *gin.Context) {
|
||||
if err != nil {
|
||||
openAIError := OpenAIError{
|
||||
Message: err.Error(),
|
||||
Type: "one_api_error",
|
||||
Type: "new_api_error",
|
||||
}
|
||||
c.JSON(200, gin.H{
|
||||
"error": openAIError,
|
||||
|
||||
Reference in new issue
Block a user