This commit is contained in:
sylor_huang@126.com 2020-06-02 16:02:18 +08:00
parent 0098ddcbd8
commit 858ead3464
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ 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|
Rails.logger.info("#######______commit______#########{commit}")
commiter = commit['committer'] commiter = commit['committer']
if commiter.present? if commiter.present?
commit_user = commiter['name'] commit_user = commiter['name']