mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2025-04-18 21:53:24 +00:00
style: return a uniform variable name
This commit is contained in:
parent
a3778c05fb
commit
ffdba23b03
4
main.go
4
main.go
@ -194,8 +194,8 @@ func main() {
|
||||
if res.Get("error.code").String() == "-32600" {
|
||||
log.Println(res.Get("error").String())
|
||||
c.JSON(http.StatusNotAcceptable, gin.H{
|
||||
"code": http.StatusNotAcceptable,
|
||||
"msg": "Invalid targetLang",
|
||||
"code": http.StatusNotAcceptable,
|
||||
"message": "Invalid targetLang",
|
||||
})
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user