From 825545dd9d982e39e5a5f1718bc612620edbed56 Mon Sep 17 00:00:00 2001 From: Luke Date: Thu, 7 Nov 2019 02:13:05 +0000 Subject: [PATCH] remove oversight --- disco/api/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/disco/api/client.py b/disco/api/client.py index 8175652..ae75622 100644 --- a/disco/api/client.py +++ b/disco/api/client.py @@ -619,7 +619,7 @@ class APIClient(LoggingClass): r = self.http(Routes.USERS_GET, dict(user=user)) return User.create(self.client, r.json()) - def users_me_get(self, bearer_token=None): + def users_me_get(self): r = self.http(Routes.USERS_ME_GET) return User.create(self.client, r.json()) @@ -627,7 +627,7 @@ class APIClient(LoggingClass): r = self.http(Routes.USERS_ME_PATCH, json=payload) return User.create(self.client, r.json()) - def users_me_guilds_list(self, bearer_token=None): + def users_me_guilds_list(self): r = self.http(Routes.USERS_ME_GUILDS_LIST) return Guild.create_hash(self.client, 'id', r.json()) @@ -640,7 +640,7 @@ class APIClient(LoggingClass): }) return Channel.create(self.client, r.json()) - def users_me_connections_list(self, bearer_token=None): + def users_me_connections_list(self): r = self.http(Routes.USERS_ME_CONNECTIONS_LIST) return Connection.create_map(self.client, r.json())