mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-17 14:35:09 +00:00
Typo
This commit is contained in:
parent
b8752e46b0
commit
fa79b7ef9d
2 changed files with 2 additions and 10 deletions
|
@ -48,4 +48,3 @@ async def get_user(session: aiohttp.ClientSession, username: str) -> GitHubUserD
|
||||||
if result.status == 200:
|
if result.status == 200:
|
||||||
return await result.json()
|
return await result.json()
|
||||||
raise UserNotFound
|
raise UserNotFound
|
||||||
|
|
||||||
|
|
|
@ -81,10 +81,3 @@ class User(_BaseUser):
|
||||||
"""Returns a User object from the username, with the mentions slots."""
|
"""Returns a User object from the username, with the mentions slots."""
|
||||||
response = await http.get_user(session, username)
|
response = await http.get_user(session, username)
|
||||||
return User(response, session)
|
return User(response, session)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue