mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-24 20:16:08 +10:00
Merge branch 'gh-fix-comments-on-diff'
This commit is contained in:
@@ -8,6 +8,7 @@ module Gitlab
|
||||
commit_id: raw_data.commit_id,
|
||||
line_code: line_code,
|
||||
author_id: author_id,
|
||||
type: type,
|
||||
created_at: raw_data.created_at,
|
||||
updated_at: raw_data.updated_at
|
||||
}
|
||||
@@ -53,6 +54,10 @@ module Gitlab
|
||||
def note
|
||||
formatter.author_line(author) + body
|
||||
end
|
||||
|
||||
def type
|
||||
'LegacyDiffNote' if on_diff?
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user