summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/models/project_services/chat_notification_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/chat_notification_service.rb b/app/models/project_services/chat_notification_service.rb
index dcfd5c641c2..cb75c89136e 100644
--- a/app/models/project_services/chat_notification_service.rb
+++ b/app/models/project_services/chat_notification_service.rb
@@ -10,7 +10,7 @@ class ChatNotificationService < Service
tag_push pipeline wiki_page deployment
].freeze
- EVENT_CHANNEL = Hash.new { |hash, event| "#{event}_channel" }.freeze
+ EVENT_CHANNEL = proc { |event| "#{event}_channel" }
default_value_for :category, 'chat'