forked from mechastorm/toggl-python-api-client
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Create the TogglClientAPI with the settings:
- token
- user_agent
Attempts to use get_workspaces throw KeyError: 'workspace_id'.
Seems to be caused by not providing a workspace_id even though it isn't used in get_workspaces and it isn't shown in the getting started material.
Is there a reason for this behaviour or can I submit a PR to change it?
I suggest making workspace_id None to start, then throwing an error if something attempts to use it.
I also don't see workspace_name used anywhere so I assume this is supposed to be workspace_id.
Metadata
Metadata
Assignees
Labels
No labels