You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that while both proposed functions here take in an arg they call userId it's important we call them with the appropriate user's ID (id of the comment author, not the requesting user, in the thanks received case).
I think pulling these out into functions will also make the code read a little cleaner and reduce the risk of transposing the user IDs like we've run into before
The text was updated successfully, but these errors were encountered:
Followups & Improvements
Note that while both proposed functions here take in an arg they call userId it's important we call them with the appropriate user's ID (id of the comment author, not the requesting user, in the thanks received case).
I think pulling these out into functions will also make the code read a little cleaner and reduce the risk of transposing the user IDs like we've run into before
The text was updated successfully, but these errors were encountered: