Closed mcndt closed 2 years ago
Probably due to race condition here: https://github.com/mcndt/obsidian-toggl-integration/blob/31382dd55c9ae3bc4e95fef6be2feb36fd8ed329/lib/toggl/TogglManager.ts#L418
If the cache is not populated yet, this yields undefined
. The value is no longer updated afterwards as long as the current timer data returned from the Toggl API does not change.
Fix in version 0.7.2.
Hypothesis: this could be because the preload of the projects failed, such that the PID is unknown.