Clockify.Net icon indicating copy to clipboard operation
Clockify.Net copied to clipboard

BUG: JSON serialization fails on workspaceSettings.automaticLock.type value "OLDER_THAN"

Open goran-w opened this issue 1 month ago • 0 comments

The corresponding enum value AutomaticClockType.OlderThan is missing the underscore in its name, which makes the naming-strategy fail when trying to match the received string "OLDER_THAN".

This can cause failure in (for example) an initial call to GetWorkspacesAsync() if the workspace has this specific setting.

Also, the C# types AutomaticClockDto and AutomaticClockType are misnamed - it's a Lock, not a Clock!

NOTE: I have an upcoming PR to fix this, against the latest released version (2.3.0).

goran-w avatar Nov 07 '25 11:11 goran-w