diff --git a/battlemetrics/components/player.py b/battlemetrics/components/player.py index cdb8bf1..5d5b054 100644 --- a/battlemetrics/components/player.py +++ b/battlemetrics/components/player.py @@ -26,7 +26,7 @@ async def identifiers(self, player_id: int) -> dict: } return await self.helpers._make_request(method="GET", url=url, params=data) - async def search(self, search: str = None, filter_game: str = None, filter_online: bool = False, filter_servers: int = None, filter_organization: int = None, filter_public: bool = False, flag: str = None) -> dict: + async def search(self, search: str = None, filter_online: bool = False, filter_servers: int = None, filter_organization: int = None, filter_public: bool = False, flag: str = None) -> dict: """Grabs a list of players based on the filters provided. For accurate information, filter by server or organization. Documentation: https://www.battlemetrics.com/developers/documentation#link-GET-player-/players Args: @@ -64,8 +64,8 @@ async def search(self, search: str = None, filter_game: str = None, filter_onlin else: data['filter[public]'] = "false" - if filter_game: - data['server']['game'] = filter_game + #if filter_game: + # data['server']['game'] = filter_game return await self.helpers._make_request(method="GET", url=url, params=data)