Commit e79ab4bd authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #3209 from tsl0922/master

Fix: API 500 error when project does not exists
parents 61d97915 1e11e45f
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment