Don't serve null when deleting apps and routes

This commit is contained in:
Evan Shaw
2016-08-19 15:44:50 +12:00
parent 3b5ff970df
commit ce569e2d6d
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"})
}