output gpid

This commit is contained in:
nigel007 2019-05-26 21:41:58 +08:00
parent 8bc19d36db
commit ed9e2b1d37
1 changed files with 1 additions and 1 deletions
app/api/mobile/apis

View File

@ -92,7 +92,7 @@ module Mobile
g = Gitlab.client # 用于通过gitlab api进行查询
result = []
params[:shaList].each do |sha|
Rails.logger.info sha
Rails.logger.info project.gpid
commit = g.commit(project.gpid, sha)
if commit
result << commit