Remove Message from 404 response, to allow easy distinction between missing method and data not found
This commit is contained in:
parent
da6fcb83f7
commit
2f027ce853
|
@ -15,7 +15,6 @@ func Handle404(c *gin.Context) {
|
||||||
c.IndentedJSON(404, response404{
|
c.IndentedJSON(404, response404{
|
||||||
ResponseBase: common.ResponseBase{
|
ResponseBase: common.ResponseBase{
|
||||||
Code: 404,
|
Code: 404,
|
||||||
Message: "Oh dear... that API request could not be found! Perhaps the API is not up-to-date? Either way, have a surprise!",
|
|
||||||
},
|
},
|
||||||
Cats: surpriseMe(),
|
Cats: surpriseMe(),
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user