Small code style tweak SCI-5800

This commit is contained in:
Martin Artnik 2021-06-30 13:15:08 +02:00
parent 15d5bb073d
commit 3662365cac

View file

@ -13,10 +13,9 @@ class WebhookService
def send_webhook
unless @webhook.active?
raise(
Activities::WebhooksService::InactiveWebhookSendException.new(
Activities::WebhooksService::InactiveWebhookSendException,
'Refused to send inactive webhook.'
)
)
end
response = HTTParty.public_send(