Commit ddaa1f1f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fixed bug with invalid event author for MR

parent f989140b
...@@ -46,8 +46,7 @@ class MergeRequestObserver < ActivityObserver ...@@ -46,8 +46,7 @@ class MergeRequestObserver < ActivityObserver
target_id: record.id, target_id: record.id,
target_type: record.class.name, target_type: record.class.name,
action: status, action: status,
author_id: record.author_id author_id: current_user
) )
end end
end end
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