summaryrefslogtreecommitdiff
path: root/lib/github
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-13 19:00:10 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-24 16:17:52 -0300
commita32adb82dc5b27069835219a5189f497686b8b04 (patch)
tree129709de3d9ea3ef28dc33d9bc258f96f0e9d7f2 /lib/github
parent33c8f315b96a1460d5ff1885a728e0a033f82d7b (diff)
downloadgitlab-ce-a32adb82dc5b27069835219a5189f497686b8b04.tar.gz
Remove sensitive information
Diffstat (limited to 'lib/github')
-rw-r--r--lib/github/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/github/client.rb b/lib/github/client.rb
index 1c24daba1ef..1450a8d3cc0 100644
--- a/lib/github/client.rb
+++ b/lib/github/client.rb
@@ -2,7 +2,7 @@ module Github
class Client
attr_reader :connection
- def initialize(token = '881a01d03026458e51285a4c7038c9fe4daa5561')
+ def initialize(token)
@connection = Faraday.new(url: 'https://api.github.com') do |faraday|
faraday.authorization 'token', token
faraday.adapter :net_http