Course lesson

Update Fauna Messages Collection with Authors

Now that we have user information available to us, we want to connect messages created to the users that are sending them. When we add read privileges to the User model, we can call User.identity() to get the user data we need to set for messages.

Duration
2 min
Access
Free
Transcript
Retained from source evidence

Now that we have user information available to us, we want to connect messages created to the users that are sending them. When we add read privileges to the User model, we can call User.identity() to get the user data we need to set for messages.