From d2e1c820fccca967686881557a7b2d08c0405159 Mon Sep 17 00:00:00 2001 From: Vlad Vitan Date: Thu, 29 Aug 2024 12:44:43 +0200 Subject: [PATCH] as: Change response code for paused webhooks --- pkg/applicationserver/io/web/webhooks.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/applicationserver/io/web/webhooks.go b/pkg/applicationserver/io/web/webhooks.go index 92ec079362b..a8e683d533c 100644 --- a/pkg/applicationserver/io/web/webhooks.go +++ b/pkg/applicationserver/io/web/webhooks.go @@ -203,6 +203,7 @@ func (w *webhooks) handleDown( } if hook.Paused { logger.Debug("Webhook is paused") + res.WriteHeader(http.StatusAccepted) return } format, ok := formats[hook.Format]