From f5db1038eb144c14c6de62fc2a33d4e471b3417a Mon Sep 17 00:00:00 2001 From: Luna Mendes Date: Thu, 27 Sep 2018 23:29:55 -0300 Subject: [PATCH] blueprints.invites: fix typo on get_channel_invites --- litecord/blueprints/invites.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/blueprints/invites.py b/litecord/blueprints/invites.py index f3cae8b..bb2308b 100644 --- a/litecord/blueprints/invites.py +++ b/litecord/blueprints/invites.py @@ -124,7 +124,7 @@ async def get_guild_invites(guild_id: int): @bp.route('/channels//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("""