From d636ad49bfba59499e45b445ca7e137e83613d8b Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 29 Oct 2013 16:39:46 +0200 Subject: API: set gitlab-ci service for project --- lib/api/deploy_keys.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/api/deploy_keys.rb') diff --git a/lib/api/deploy_keys.rb b/lib/api/deploy_keys.rb index 218b3d8eee2..b5997608997 100644 --- a/lib/api/deploy_keys.rb +++ b/lib/api/deploy_keys.rb @@ -5,16 +5,6 @@ module API before { authorize_admin_project } resource :projects do - helpers do - def handle_project_member_errors(errors) - if errors[:project_access].any? - error!(errors[:project_access], 422) - end - not_found! - end - end - - # Get a specific project's keys # # Example Request: -- cgit v1.2.1