horoeka-2022 / gardenz

Empowering community gardens in New Zealand
0 stars 1 forks source link

Bug: User id is is not being stored in global state when user is authenticated #46

Open clementine-smart opened 1 year ago

clementine-smart commented 1 year ago

Currently there is no id property of the user state being stored. Some API requests to the back end (e.g. GET /api/v1/gardens/:id) require the user id to be sent in the header in order to check for admin privileges.