mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 07:22:32 -05:00
refresh webhook status
This commit is contained in:
1 parent
988a5361a6
commit
4615e3e48f
10 files changed
+139
-90
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user