Skip to content

Commit

Permalink
fix: exit hook retry loop on success (#1179)
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Sep 11, 2024
1 parent 6750763 commit d83c78e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/webhook/post.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ func PostWebhook(c *gin.Context) {

return
}

// hook was created successfully
break
}

l.WithFields(logrus.Fields{
Expand Down

0 comments on commit d83c78e

Please sign in to comment.