mirror of https://gitlab.com/litecord/litecord.git
guilds: fix typo in route
This commit is contained in:
parent
deddc82360
commit
52c2fdb771
|
|
@ -62,7 +62,7 @@ async def create_guild_channel(guild_id: int, channel_id: int,
|
|||
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):
|
||||
"""Get the list of channels in a guild."""
|
||||
user_id = await token_check()
|
||||
|
|
|
|||
Loading…
Reference in New Issue