Commit ddaa1f1fe6bfaeac4ddc9ef6301163e2fe69c1e7

Authored by Dmitriy Zaporozhets
1 parent f989140b

Fixed bug with invalid event author for MR

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
app/observers/merge_request_observer.rb
@@ -46,8 +46,7 @@ class MergeRequestObserver < ActivityObserver @@ -46,8 +46,7 @@ class MergeRequestObserver < ActivityObserver
46 target_id: record.id, 46 target_id: record.id,
47 target_type: record.class.name, 47 target_type: record.class.name,
48 action: status, 48 action: status,
49 - author_id: record.author_id 49 + author_id: current_user
50 ) 50 )
51 end 51 end
52 -  
53 end 52 end