Remove Message from 404 response, to allow easy distinction between missing method and data not found

This commit is contained in:
Howl 2016-06-13 21:47:35 +02:00
parent da6fcb83f7
commit 2f027ce853

View File

@ -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(),
}) })