guilds: fix typo in route

This commit is contained in:
Luna Mendes 2018-11-20 14:45:54 -03:00
parent deddc82360
commit 52c2fdb771
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ async def create_guild_channel(guild_id: int, channel_id: int,
await _specific_chan_create(channel_id, ctype, **kwargs) await _specific_chan_create(channel_id, ctype, **kwargs)
@bp.route('/<int:guild>/channels', methods=['GET']) @bp.route('/<int:guild_id>/channels', methods=['GET'])
async def get_guild_channels(guild_id): async def get_guild_channels(guild_id):
"""Get the list of channels in a guild.""" """Get the list of channels in a guild."""
user_id = await token_check() user_id = await token_check()