Need a way for users to check which lobbies they've joined.
Could do this in the my lobbies page or have some way to search for joined lobbies in the lobby searching page.
To get the lobbies, should be able to do LobbyPlayers.query.filter_by(UserID=current_user.get_id()).
Could also modify the endpoint for lobby data to accept a user_id in the query string which returns all the lobbies the user has joined.
Need a way for users to check which lobbies they've joined.
Could do this in the my lobbies page or have some way to search for joined lobbies in the lobby searching page.
To get the lobbies, should be able to do
LobbyPlayers.query.filter_by(UserID=current_user.get_id())
. Could also modify the endpoint for lobby data to accept auser_id
in the query string which returns all the lobbies the user has joined.