Merge pull request #57 from iron-io/delete-messages

Don't serve null when deleting apps and routes
This commit is contained in:
Travis Reeder
2016-08-22 09:32:23 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -23,5 +23,5 @@ func handleAppDelete(c *gin.Context) {
return
}
c.JSON(http.StatusOK, nil)
c.JSON(http.StatusOK, gin.H{"message": "App deleted"})
}

View File

@@ -24,5 +24,5 @@ func handleRouteDelete(c *gin.Context) {
return
}
c.JSON(http.StatusOK, nil)
c.JSON(http.StatusOK, gin.H{"message": "Route deleted"})
}