add debug

This commit is contained in:
Nigel 2019-09-23 17:21:18 +08:00
parent 32f3980544
commit e1a6b6f22c
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ module Mobile
post 'getCommitInfo' do
authenticate!
owner = User.find_by_login(params[:ownername])
Rails.logger.info "1111111111111122222222!!!1111111111111111111111111111"
if owner
project = Project.find_by_user_id_name(owner.id, params[:reponame])
if project