From f4f6960a24302cf0fb0f8b09972c5e420bbb3ab9 Mon Sep 17 00:00:00 2001 From: Bjarne Bonde Date: Tue, 6 Apr 2021 09:20:16 +0200 Subject: [PATCH] Updated API base uri to track in base TogglApi --- src/TogglApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TogglApi.php b/src/TogglApi.php index ebf8b17..875de2c 100644 --- a/src/TogglApi.php +++ b/src/TogglApi.php @@ -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'], ]); }