Skip to content

Commit

Permalink
rename params
Browse files Browse the repository at this point in the history
  • Loading branch information
howyi committed Sep 23, 2018
1 parent cc6d01f commit e38d0aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Empty file added README.md
Empty file.
4 changes: 2 additions & 2 deletions src/ClickUp/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ class Client

private $guzzleClient;

public function __construct($token)
public function __construct($apiToken)
{
$this->guzzleClient = new \GuzzleHttp\Client([
'base_uri' => 'https://api.clickup.com/api/v1/',
'headers' => [
'Authorization' => $token,
'Authorization' => $apiToken,
]
]);
}
Expand Down

0 comments on commit e38d0aa

Please sign in to comment.