mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2026-12-01 23:07:51 +00:00
style: return a uniform variable name
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user