Skip to content

Commit

Permalink
Fix typo in fetch_member() request path
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluenix2 committed May 1, 2022
1 parent ecdb2b0 commit dcfdaa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/wumpy-rest/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "wumpy-rest"
version = "0.1.2"
version = "0.1.3"
description = "Reusable and richly typed wrapper over the Discord REST API"
readme = {file = "README.md", content-type="text/markdown"}

Expand Down
2 changes: 1 addition & 1 deletion library/wumpy-rest/wumpy/rest/endpoints/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ async def fetch_member(self, guild: SupportsInt, user: SupportsInt) -> GuildMemb
The member data of the user.
"""
return await self.request(Route(
'GET', '/guilds/{guild_id}/embers/{user_id}',
'GET', '/guilds/{guild_id}/members/{user_id}',
guild_id=int(guild), user_id=int(user)
))

Expand Down

0 comments on commit dcfdaa0

Please sign in to comment.