Update Fauna Messages Collection with Authors

Share this video with your friends

Send Tweet

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.