From d053037ccb722d48534e454875dcf91756cefc98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20J=C3=B8nsson?= Date: Thu, 2 Nov 2023 09:58:07 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20createClient=20argument?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/TogglApi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TogglApi.php b/src/TogglApi.php index 6188ec8..7db5481 100644 --- a/src/TogglApi.php +++ b/src/TogglApi.php @@ -52,9 +52,9 @@ public function resetApiToken() /** * @see TogglTrackWorkspaceApi::createClient() */ - public function createClient($workspaceId, $clientName) + public function createClient($workspaceId, $client) { - return $this->workspace($workspaceId)->createClient(['name' => $clientName]); + return $this->workspace($workspaceId)->createClient($client); } /**