Closed avenmia closed 1 year ago
I created a code branch with a single commit that tries to remove localstorage usage. However, I can't run the app locally right now so I can't test this. Mike, here's what needs to happen with this:
user.create
(which is supposed to be the Prisma method to create user objects) so I have no idea where they're being created. Maybe you know. Wherever that is happening needs to be verified and or updated to ensure xids are being stored.update users set xid = id if xid is null or xid = '';
Is that something you can help with since I can't see to test this locally right now?
From @dinoboy197 : Code for xid management is very likely the culprit for problems with not being able to join data from a polis export with our database zipcode and census track data. We need to ensure that an xid is created for every user when they initially log in/create an account, and any user records in the database that are missing xids need to have new xids created and backfilled.