BenBolthouse / nice-bytes

A clone of the popular website GoodReads where users can rate and share restaurants.
6 stars 1 forks source link

Remove Redundant `session.auth` #47

Closed BenBolthouse closed 3 years ago

BenBolthouse commented 3 years ago

Auth object only contains a user id, which is identical to the user object on session...which also contains a user id. Remove the auth object and convert all references to session.user.

BenBolthouse commented 3 years ago

Snuck this one into another PR #48 😉 all done.