Closed KyleMaas closed 3 years ago
Turns out if you haven't synced with anything yet, clock comes in as undefined. This errors out JSON.parse with an error about an unknown token "u". This should fix that.
clock
undefined
JSON.parse
Just tested this. I no longer get that error. So it looks like this does work.
thanks :)
Turns out if you haven't synced with anything yet,
clock
comes in asundefined
. This errors outJSON.parse
with an error about an unknown token "u". This should fix that.