mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2025-04-19 14:13:24 +00:00
style: return a uniform variable name
This commit is contained in:
parent
a3778c05fb
commit
ffdba23b03
2
main.go
2
main.go
@ -195,7 +195,7 @@ func main() {
|
|||||||
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