add logger

This commit is contained in:
nigel007 2019-07-26 10:18:41 +08:00
parent b18c44db44
commit 4eb2428ef1
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ module Mobile
post 'getJoinInfo' do
authenticate!
# 根据repo_git_url找到repository对应的项目
Rails.logger.info(params)
rs = RepositoriesService.new
if params[:ownername] != nil and params[:reponame] != nil
owner = User.find_by_login(params[:ownername])