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 46 target_id: record.id,
47 47 target_type: record.class.name,
48 48 action: status,
49   - author_id: record.author_id
  49 + author_id: current_user
50 50 )
51 51 end
52   -
53 52 end
... ...