Skip to content

Commit

Permalink
πŸ› Fix createClient argument
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonJnsson committed Nov 2, 2023
1 parent 87c3f96 commit d053037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TogglApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit d053037

Please sign in to comment.