Skip to content

Commit

Permalink
chore: lint...
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Sep 12, 2024
1 parent 2139c9c commit da2bbee
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions api/webhook/post.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -560,8 +558,6 @@ func PostWebhook(c *gin.Context) {
c.JSON(http.StatusCreated, b)
}

responded = true

return
}

Expand All @@ -586,8 +582,6 @@ func PostWebhook(c *gin.Context) {
c.JSON(http.StatusCreated, b)
}

responded = true

return
}

Expand Down

0 comments on commit da2bbee

Please sign in to comment.