mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
fix rubocop
This commit is contained in:
1 parent
f9c12b9d78
commit
9bfa6f7f4a
25 files changed
+27
-52
No files matched your search
@@ -13,7 +13,7 @@ module SendWebhookRequest
|
||||
|
||||
module_function
|
||||
|
||||
# rubocop:disable Metrics/AbcSize
|
||||
# rubocop:disable-next Metrics/AbcSize
|
||||
def call(webhook_url, event_uuid:, event_type:, record:, data:, attempt: 0)
|
||||
uri = parse_uri(webhook_url.url)
|
||||
|
||||
@@ -53,7 +53,6 @@ module SendWebhookRequest
|
||||
rescue Faraday::Error => e
|
||||
handle_error(webhook_event, attempt:, error_message: e.message&.truncate(100))
|
||||
end
|
||||
# rubocop:enable Metrics/AbcSize
|
||||
|
||||
def parse_uri(url)
|
||||
URI(url)
|
||||
|
||||
Reference in new issue
Block a user