From d83c78ef312e18b61aa1f27368fbe019ea461989 Mon Sep 17 00:00:00 2001 From: dave vader <48764154+plyr4@users.noreply.github.com> Date: Wed, 11 Sep 2024 10:34:20 -0500 Subject: [PATCH] fix: exit hook retry loop on success (#1179) --- api/webhook/post.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/webhook/post.go b/api/webhook/post.go index 3a95aa5bc..c854c44d9 100644 --- a/api/webhook/post.go +++ b/api/webhook/post.go @@ -307,6 +307,9 @@ func PostWebhook(c *gin.Context) { return } + + // hook was created successfully + break } l.WithFields(logrus.Fields{