mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-23 10:02:10 +08:00
add return for missing
This commit is contained in:
parent
a37a344099
commit
73ef02fc00
@ -31,6 +31,7 @@ func main() {
|
||||
c.JSON(http.StatusInternalServerError, gin.H{
|
||||
"error": err.Error(),
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
c.JSON(http.StatusOK, gin.H{
|
||||
|
Loading…
x
Reference in New Issue
Block a user