update json and fix notes issue
This commit is contained in:
parent
25a1c6541a
commit
a868258269
2 changed files with 5220 additions and 159 deletions
|
@ -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
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue