blueprints.invites: fix typo on get_channel_invites

This commit is contained in:
Luna Mendes 2018-09-27 23:29:55 -03:00
parent e7d97ecdef
commit f5db1038eb
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ async def get_guild_invites(guild_id: int):
@bp.route('/channels/<int:channel_id>/invites', methods=['GET'])
async def get_channel_invites(channel_id: int):
user_id = await token_check
user_id = await token_check()
guild_id = await channel_check(user_id, channel_id)
inv_codes = await app.db.fetch("""