Skip to content
Snippets Groups Projects
Commit e79ab4bd authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge pull request #3209 from tsl0922/master

Fix: API 500 error when project does not exists
parents 61d97915 1e11e45f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -22,6 +22,7 @@ module Gitlab
key = Key.find(params[:key_id])
project = Project.find_with_namespace(project_path)
git_cmd = params[:action]
return false unless project
 
 
if key.is_deploy_key
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment