Browse Source

remove oversight

pull/161/head
Luke 5 years ago
parent
commit
825545dd9d
  1. 6
      disco/api/client.py

6
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())

Loading…
Cancel
Save