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" {
|
if res.Get("error.code").String() == "-32600" {
|
||||||
log.Println(res.Get("error").String())
|
log.Println(res.Get("error").String())
|
||||||
c.JSON(http.StatusNotAcceptable, gin.H{
|
c.JSON(http.StatusNotAcceptable, gin.H{
|
||||||
"code": http.StatusNotAcceptable,
|
"code": http.StatusNotAcceptable,
|
||||||
"msg": "Invalid targetLang",
|
"message": "Invalid targetLang",
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user