godbout / alfred-time

Start and stop tracking time with Toggl, Harvest, Everhour or Clockify through Alfred 4. ⏰️
MIT License
110 stars 8 forks source link

Data cache file for services are not usable if service can't login at first time #21

Closed godbout closed 5 years ago

godbout commented 6 years ago

If service is set as active but credentials are wrong, a cache file will still be created with wrong data in it (this is due to refactoring, a test on the returned data is wrong). Next time a timer is started, the data is loaded and corrupt Alfred. Currently the only way to solve this is to get the right credential in the config file, and to manually resync using "time sync".

See: https://github.com/godbout/alfred-time/issues/19