fix rubocop

This commit is contained in:
Pete Matsyburka committed 2026-10-30 11:03:27 +02:00
1 parent f9c12b9d78
commit 9bfa6f7f4a
25 files changed
+27 -52

No files matched your search

+1 -2
View File
@@ -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)