Commit a8682582 authored by James Lopez's avatar James Lopez

update json and fix notes issue

parent 25a1c654
......@@ -28,12 +28,12 @@ module Gitlab
end
def update_missing_author(relation_hash, members_map)
old_author_id = relation_hash['author_id'].dup
old_author_id = relation_hash['author_id']
relation_hash['author_id'] = members_map.map[old_author_id]
return unless members_map.note_member_list.include?(old_author_id)
relation_hash['note'] = ('*Blank note*') if relation_hash['note'].blank?
relation_hash['note'].join(missing_author_note(relation_hash['updated_at'],
relation_hash['note'] += (missing_author_note(relation_hash['updated_at'],
relation_hash['author']['name']))
relation_hash.delete('author')
end
......
This diff is collapsed.
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