email: "test@ttu.edu"
isApproved: false
name: "test"
password: [stuff that is hashed and salted]
permissions: Object
points: Object
role: "student"
type: "student"
__v: 0
_id: "595f1fa7ffc98f10b8a8f17d"
Note: I'm not entirely certain why the response I get from getUser contains permissions. But I might just be tired.
Explanation: console.log seems to be outputting the value of user after it is adjusted by the reducer, even though I logged it before passing to dispatch
To do:
_id
vsuid
)type
vsrole
This is what I get from
getUser
:This is what I get from
modifyUser
:Note: I'm not entirely certain why the response I get from
getUser
containspermissions
. But I might just be tired. Explanation:console.log
seems to be outputting the value ofuser
after it is adjusted by the reducer, even though I logged it before passing todispatch