diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-10 09:08:56 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-10 09:08:56 +0000 |
commit | b4ded0ba7b4d2cdbed5b1f331cf2083a25ee4d7c (patch) | |
tree | 6694fa9d8f3e226597cc01dfb8e3e07b50ae85b6 /lib/api/keys.rb | |
parent | 2aaef94c80937d9d188f7b9cbbad2dcd1508c3c1 (diff) | |
download | gitlab-ce-b4ded0ba7b4d2cdbed5b1f331cf2083a25ee4d7c.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/keys.rb')
-rw-r--r-- | lib/api/keys.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/keys.rb b/lib/api/keys.rb index bec3dc9bd97..b730e027063 100644 --- a/lib/api/keys.rb +++ b/lib/api/keys.rb @@ -26,7 +26,7 @@ module API get do authenticated_with_can_read_all_resources! - key = KeysFinder.new(current_user, params).execute + key = KeysFinder.new(params).execute not_found!('Key') unless key |