read the diff of commit_diff
This commit is contained in:
parent
18ccb3347d
commit
9ac5b33689
|
@ -90,8 +90,8 @@ module Mobile
|
|||
project = Project.find_by_user_id_name(owner.id, params[:reponame])
|
||||
if project
|
||||
g = Gitlab.client # 用于通过gitlab api进行查询
|
||||
diff = g.commit_diff(project.id, params[:oldHash])
|
||||
Rails.logger.info diff
|
||||
diff_result = g.commit_diff(project.id, params[:oldHash])
|
||||
Rails.logger.info diff_result.diff
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue