diff --git a/api/webhook/post.go b/api/webhook/post.go index d4a847178..0f770021d 100644 --- a/api/webhook/post.go +++ b/api/webhook/post.go @@ -546,8 +546,6 @@ func PostWebhook(c *gin.Context) { c.JSON(http.StatusCreated, b) } - responded = true - return case constants.ApproveForkNoWrite: // determine if build sender has write access to parent repo. If not, this call will result in an error @@ -560,8 +558,6 @@ func PostWebhook(c *gin.Context) { c.JSON(http.StatusCreated, b) } - responded = true - return } @@ -586,8 +582,6 @@ func PostWebhook(c *gin.Context) { c.JSON(http.StatusCreated, b) } - responded = true - return }