Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2016-11-01 14:40:06 +0300
committerSean McGivern <sean@gitlab.com>2016-11-01 14:40:06 +0300
commitf77be11cb9caa62cdd4690a53c73b6d34e102148 (patch)
treee36511f907c20daed701d882e4e08f0b07fff04c /lib/api
parentc85c146aa2042710caddc6666ce8f9e07b2fe5ca (diff)
Ensure hook tokens are write-only in the API
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/entities.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 94586040fa4..ab9d2d54f4b 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -50,7 +50,7 @@ module API
expose :project_id, :push_events
expose :issues_events, :merge_requests_events, :tag_push_events
expose :note_events, :build_events, :pipeline_events, :wiki_page_events
- expose :enable_ssl_verification, :token
+ expose :enable_ssl_verification
end
class BasicProjectDetails < Grape::Entity