mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-31 23:11:15 +00:00
rewrite: re-sync changes on page reload
This commit is contained in:
parent
62a10d4b28
commit
393e40b763
1 changed files with 1 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ angular.module('userServices', []).
|
|||
settings.auth.apiId = uuid;
|
||||
settings.auth.apiToken = token;
|
||||
settings.online = true;
|
||||
if (user && user._v) user._v--; // shortcut to always fetch new updates on page reload
|
||||
this.log({}, cb);
|
||||
} else {
|
||||
alert('Please enter your ID and Token in settings.')
|
||||
|
|
|
|||
Loading…
Reference in a new issue