aboutsummaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authora1012112796 <1012112796@qq.com>2021-02-23 02:54:01 +0800
committerGitHub <noreply@github.com>2021-02-22 19:54:01 +0100
commit7bf61a89d3e5f127556a4fa5099b2b6796dfc851 (patch)
treec56438680f97e6609e56896490f10aa708de880f /services
parentff2a0e8dcd7f13c8bee2d5939b70ad6227f2b4d0 (diff)
downloadgitea-7bf61a89d3e5f127556a4fa5099b2b6796dfc851.tar.gz
gitea-7bf61a89d3e5f127556a4fa5099b2b6796dfc851.zip
fix a small nit (#14769)
Diffstat (limited to 'services')
-rw-r--r--services/webhook/webhook.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/webhook/webhook.go b/services/webhook/webhook.go
index 87f28a5cdc..cc79ec15d1 100644
--- a/services/webhook/webhook.go
+++ b/services/webhook/webhook.go
@@ -130,6 +130,8 @@ func prepareWebhook(w *models.Webhook, repo *models.Repository, event models.Hoo
if !e.Has() {
return nil
}
+
+ break
}
}