Skip to content

Commit

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

0 comments on commit f76a43d

Please sign in to comment.