diff --git a/app/api/mobile/apis/blockchains.rb b/app/api/mobile/apis/blockchains.rb index aaf4e5d6d..352210f43 100644 --- a/app/api/mobile/apis/blockchains.rb +++ b/app/api/mobile/apis/blockchains.rb @@ -61,7 +61,7 @@ module Mobile # 根据repo_git_url找到repository对应的项目 rs = RepositoriesService.new - rs.findProjectByRepoUrl(repo_url) + rs.findProjectByRepoUrl(params[:repo_url]) # owner = User.find_by_login(params[:ownername]) # if owner # project = Project.find_by_user_id_name(owner.id, params[:reponame])