mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-18 22:58:53 +08:00
Small code style tweak SCI-5800
This commit is contained in:
parent
15d5bb073d
commit
3662365cac
1 changed files with 2 additions and 3 deletions
|
|
@ -13,9 +13,8 @@ class WebhookService
|
||||||
def send_webhook
|
def send_webhook
|
||||||
unless @webhook.active?
|
unless @webhook.active?
|
||||||
raise(
|
raise(
|
||||||
Activities::WebhooksService::InactiveWebhookSendException.new(
|
Activities::WebhooksService::InactiveWebhookSendException,
|
||||||
'Refused to send inactive webhook.'
|
'Refused to send inactive webhook.'
|
||||||
)
|
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue