Skip to content

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

Description

@namsnath

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions