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
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-06-26 08:40:11 +0300
committerStan Hu <stanhu@gmail.com>2018-06-26 08:40:11 +0300
commit046a5e398d202be5865a850cf778fedd9bd39c47 (patch)
treed2d6115e327c3da5ace7b2456480f04386a69f59 /lib/bitbucket_server/connection.rb
parentc9deb7cef8d0d85a8773b0e6d26ae12a3ff25a0e (diff)
More work towards supporting Bitbucket Server
Diffstat (limited to 'lib/bitbucket_server/connection.rb')
-rw-r--r--lib/bitbucket_server/connection.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitbucket_server/connection.rb b/lib/bitbucket_server/connection.rb
index 64f12527a8d..7374b73fa60 100644
--- a/lib/bitbucket_server/connection.rb
+++ b/lib/bitbucket_server/connection.rb
@@ -8,7 +8,7 @@ module BitbucketServer
@api_version = options.fetch(:api_version, DEFAULT_API_VERSION)
@base_uri = options[:base_uri]
@username = options[:username]
- @token = options[:personal_access_token]
+ @token = options[:password]
end
def get(path, extra_query = {})