Skip to content

Commit

Permalink
as: Change response code for paused webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Vitan committed Aug 29, 2024
1 parent 751ec79 commit d2e1c82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/applicationserver/io/web/webhooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d2e1c82

Please sign in to comment.