chore: update error code
This commit is contained in:
1 parent
8c779729c7
commit
0ff78b0705
2 files changed
+2
-2
No files matched your search
@@ -29,7 +29,7 @@ func GetSubscription(c *gin.Context) {
|
||||
if err != nil {
|
||||
openAIError := OpenAIError{
|
||||
Message: err.Error(),
|
||||
Type: "one_api_error",
|
||||
Type: "upstream_error",
|
||||
}
|
||||
c.JSON(200, gin.H{
|
||||
"error": openAIError,
|
||||
|
||||
Reference in new issue
Block a user