standard route response

This commit is contained in:
Pedro Nasser
2016-08-30 13:42:55 -03:00
parent 662216f7f1
commit 7b230232b8
9 changed files with 16 additions and 16 deletions

View File

@@ -39,5 +39,5 @@ func handleAppUpdate(c *gin.Context) {
wapp.App = app
// Nothing to update right now in apps
c.JSON(http.StatusOK, appResponse{"App successfully updated", wapp})
c.JSON(http.StatusOK, appResponse{"App successfully updated", wapp.App})
}