Skip to content

Commit 4a9c53d

Browse files
author
guillermo-fisher
committed
Sending the hash as a parameter for now. Not ideal, but will refactor at a future date.
1 parent daad20d commit 4a9c53d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/Github/Api/Enterprise/ManagementConsole.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ public function keys($hash)
5454
return $this->get('/setup/api/settings/authorized-keys', $hash);
5555
}
5656

57-
public function getClient()
58-
{
59-
return $this->client;
60-
}
61-
6257
/**
6358
* Sends an authenticated GET request.
6459
*
@@ -69,6 +64,6 @@ public function getClient()
6964
*/
7065
protected function get($uri, $hash)
7166
{
72-
return parent::get($uri, array('auth' => array('license', rawurlencode($hash))));
67+
return parent::get($uri, array('license_md5' => rawurlencode($hash)));
7368
}
7469
}

0 commit comments

Comments
 (0)