mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Fixed up a couple of incorrect response codes (#1095)
* Fixed up a couple of incorrect response codes * Standardise all entities on 204 with no return content on successful delete * Fix failing Fn.delete() test
This commit is contained in:
@@ -16,5 +16,5 @@ func (s *Server) handleTriggerDelete(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
c.JSON(http.StatusNoContent, nil)
|
||||
c.String(http.StatusNoContent, "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user