From 6b3d3c881aaa37e0630b3534e3c097cf169a7870 Mon Sep 17 00:00:00 2001 From: George Tsatsis Date: Tue, 31 Mar 2020 04:10:05 +0300 Subject: [PATCH] Copy-paste fail (Change func name) --- litecord/blueprints/icons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/blueprints/icons.py b/litecord/blueprints/icons.py index 5c68100..756f533 100644 --- a/litecord/blueprints/icons.py +++ b/litecord/blueprints/icons.py @@ -110,6 +110,6 @@ async def _get_guild_banner(guild_id: int, icon_file: str): return await send_icon("banner", guild_id, icon_hash, ext=ext) @bp.route("/discovery-splashes//", methods=["GET"]) -async def _get_guild_banner(guild_id: int, icon_file: str): +async def _get_discovery_splash(guild_id: int, icon_file: str): icon_hash, ext = splitext_(icon_file) return await send_icon("discovery-splash", guild_id, icon_hash, ext=ext) \ No newline at end of file