summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2016-11-01 11:40:06 +0000
committerSean McGivern <sean@gitlab.com>2016-11-01 11:40:06 +0000
commitf77be11cb9caa62cdd4690a53c73b6d34e102148 (patch)
treee36511f907c20daed701d882e4e08f0b07fff04c /lib
parentc85c146aa2042710caddc6666ce8f9e07b2fe5ca (diff)
downloadgitlab-ce-f77be11cb9caa62cdd4690a53c73b6d34e102148.tar.gz
Ensure hook tokens are write-only in the APIgpocentek/gitlab-ce-api-webhook-token
Diffstat (limited to 'lib')
-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