From 3662365cacfa38bca3a405155e64a2a39e1a499d Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Wed, 30 Jun 2021 13:15:08 +0200 Subject: [PATCH] Small code style tweak SCI-5800 --- app/services/webhook_service.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/services/webhook_service.rb b/app/services/webhook_service.rb index 543b038ab..e540bfd4d 100644 --- a/app/services/webhook_service.rb +++ b/app/services/webhook_service.rb @@ -13,9 +13,8 @@ class WebhookService def send_webhook unless @webhook.active? raise( - Activities::WebhooksService::InactiveWebhookSendException.new( - 'Refused to send inactive webhook.' - ) + Activities::WebhooksService::InactiveWebhookSendException, + 'Refused to send inactive webhook.' ) end