From 1a95e95303436e030fea5ec8fe0f474af090f7dc Mon Sep 17 00:00:00 2001 From: Luna Date: Sun, 29 Aug 2021 13:00:29 -0300 Subject: [PATCH] fix typo --- litecord/blueprints/channel/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/blueprints/channel/messages.py b/litecord/blueprints/channel/messages.py index 4809c6d..fcce097 100644 --- a/litecord/blueprints/channel/messages.py +++ b/litecord/blueprints/channel/messages.py @@ -93,7 +93,7 @@ async def around_message_search( after_messages = await message_search( channel_id, before=None, after=around_id, limit=halved_limit, order="ASC" ) - return reversed(before_messages) + [around_id] + after_messages + return list(reversed(before_messages)) + [around_id] + after_messages @bp.route("//messages", methods=["GET"])