Skip to content
Snippets Groups Projects
Commit d54d5465 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
Browse files

Fix rubucop offenses

parent dfef28c9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -49,10 +49,10 @@ class ChatNotificationService < Service
 
return false unless message
 
channel_name = get_channel_field(object_kind).presence || channel
channel_name = get_channel_field(object_kind).presence || channel
 
opts = {}
opts[:channel] = channel_name if channel_name
opts[:channel] = channel_name if channel_name
opts[:username] = username if username
 
notifier = Slack::Notifier.new(webhook, opts)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment