Skip to content

Commit

Permalink
Updated API base uri to track in base TogglApi
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarnebonde authored Apr 6, 2021
1 parent f76a43d commit f4f6960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TogglApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function __construct($apiToken)
{
$this->apiToken = $apiToken;
$this->client = new Client([
'base_uri' => 'https://www.toggl.com/api/v8/',
'base_uri' => 'https://api.track.toggl.com/api/v8/',
'auth' => [$this->apiToken, 'api_token'],
]);
}
Expand Down

0 comments on commit f4f6960

Please sign in to comment.