Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login (keep local data) seems to sync and return server data #104

Open
namsnath opened this issue Oct 25, 2020 · 0 comments
Open

Login (keep local data) seems to sync and return server data #104

namsnath opened this issue Oct 25, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@namsnath
Copy link
Collaborator

namsnath commented Oct 25, 2020

Reproduction

  • Add courses without logging in
  • Login in keeping local data
  • On sync, local data is overwritten by server data

Expected

  • On sync, local data overwrites server data

Problem

req.user.timestamp seems to be updated on login

Suggested Solution

Add a property timetableTimestamp and use that to check for update time
OR
Figure out where the timestamp is being changed and fix it

@namsnath namsnath added the bug Something isn't working label Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant