Skip to content
Snippets Groups Projects
Commit 24c2aa39 authored by James Lopez's avatar James Lopez
Browse files

fix blank state error

parent 98773ef9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -12,7 +12,7 @@ module Gitlab
end
 
def fetch
update_author! if event_result.first['author_id']
update_author!
 
event_result.map do |event|
serialize(event) if has_permission?(event['id'])
Loading
Loading
@@ -28,6 +28,8 @@ module Gitlab
private
 
def update_author!
return unless event_result.any? && event_result.first['author_id']
AuthorUpdater.update!(event_result)
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment