laravel-friendships
laravel-friendships copied to clipboard
Adding Query to get Pending Friend Requests
This PR helps users get the list of all pending requests sent by that particular user. While using getPendingFriendships
did work, the result contained all the pending friendships queries for that user regardless of whether the user was the sender or recipient of the friend request. This PR helps clean that bit.
This PR fixes #113