Skip to content

Commit 8313981

Browse files
author
gonzalo
committed
Fix HttpClient instance in authenticate after last refactor.
1 parent 3cb9b2c commit 8313981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function authenticate($tokenOrLogin, $password = null, $authMethod = null
161161
$password = null;
162162
}
163163

164-
$this->httpClient->authenticate($tokenOrLogin, $password, $authMethod);
164+
$this->getHttpClient()->authenticate($tokenOrLogin, $password, $authMethod);
165165
}
166166

167167
/**

0 commit comments

Comments
 (0)