mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Don't serve null when deleting apps and routes
This commit is contained in:
@@ -23,5 +23,5 @@ func handleAppDelete(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
c.JSON(http.StatusOK, nil)
|
||||
c.JSON(http.StatusOK, gin.H{"message": "App deleted"})
|
||||
}
|
||||
|
||||
@@ -24,5 +24,5 @@ func handleRouteDelete(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
c.JSON(http.StatusOK, nil)
|
||||
c.JSON(http.StatusOK, gin.H{"message": "Route deleted"})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user