Commit 606d24ff authored by Drew Blessing's avatar Drew Blessing
Browse files

Merge branch 'irker-service-use-supported-events' into 'master'

Make Irker service check supported_events

c65d4f827e92 added the supported_events check for services. Since e9d8abd35cd3 was just added, we should adjust it accordingly.

See merge request !367
......@@ -68,9 +68,15 @@ def to_param
def execute(push_data)
def supported_events
def execute(data)
return unless supported_events.include?(data[:object_kind])
IrkerWorker.perform_async(project_id, channels,
colorize_messages, push_data, @settings)
colorize_messages, data, @settings)
def fields
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment