csce-cups / tias

TIAS Is A Scheduler
https://csce-scheduler.com
0 stars 0 forks source link

Fix postuser lambda, null unique values possible #91

Closed dantebarbieri closed 2 years ago

dantebarbieri commented 2 years ago

So, an explanation... We enforce the Uniqueness of the Google Token Sub and of the Email, but if we don't have these fields we were defaulting them to empty string ''. This was a problem, so instead, we now let them be null to avoid the DB complaining. This is honestly a better way to do this anyway tbh.