refresh webhook status

This commit is contained in:
Pete Matsyburka
2025-07-05 10:27:35 +03:00
parent 988a5361a6
commit 4615e3e48f
10 changed files with 139 additions and 90 deletions
+1 -1
View File
@@ -20,6 +20,6 @@ class WebhookAttempt < ApplicationRecord
belongs_to :webhook_event
def success?
response_status_code.to_i / 100 == 2
[2, 3].include?(response_status_code.to_i / 100)
end
end