summaryrefslogtreecommitdiff
path: root/lib/bitbucket/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bitbucket/client.rb')
-rw-r--r--lib/bitbucket/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitbucket/client.rb b/lib/bitbucket/client.rb
index 0d4cfd600b8..33e977d655d 100644
--- a/lib/bitbucket/client.rb
+++ b/lib/bitbucket/client.rb
@@ -1,7 +1,7 @@
module Bitbucket
class Client
def initialize(options = {})
- @connection = options.fetch(:connection, Connection.new(options))
+ @connection = Connection.new(options)
end
def issues(repo)