change
This commit is contained in:
parent
226f611bc8
commit
0098ddcbd8
|
@ -5,8 +5,9 @@ else
|
||||||
json.total_count @hash_commit[:total_count]
|
json.total_count @hash_commit[:total_count]
|
||||||
json.commits do
|
json.commits do
|
||||||
json.array! @hash_commit[:body] do |commit|
|
json.array! @hash_commit[:body] do |commit|
|
||||||
commit_user = commit['committer']['name']
|
commiter = commit['committer']
|
||||||
if commit_user
|
if commiter.present?
|
||||||
|
commit_user = commiter['name']
|
||||||
forge_user = User.simple_select.find_by(login: commit_user)
|
forge_user = User.simple_select.find_by(login: commit_user)
|
||||||
end
|
end
|
||||||
json.sha commit['sha']
|
json.sha commit['sha']
|
||||||
|
|
Loading…
Reference in New Issue