From c8c42f5a88044a666dd5100aca7ec80f4c156075 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 16 Feb 2019 21:26:56 -0300 Subject: [PATCH] dm_channels: fix typo --- litecord/blueprints/dm_channels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/blueprints/dm_channels.py b/litecord/blueprints/dm_channels.py index 4773b26..9a46a02 100644 --- a/litecord/blueprints/dm_channels.py +++ b/litecord/blueprints/dm_channels.py @@ -104,7 +104,7 @@ async def _gdm_remove_recipient(channel_id: int, peer_id: int, *, user_id=None): await app.dispatcher.dispatch('channel', channel_id, 'CHANNEL_UPDATE', chan) -@bp.route('//receipients/', methods=['PUT']) +@bp.route('//recipients/', methods=['PUT']) async def add_to_group_dm(dm_chan, peer_id): """Adds a member to a group dm OR creates a group dm.""" user_id = await token_check()