Copy-paste fail (Change func name)

This commit is contained in:
George Tsatsis 2020-03-31 04:10:05 +03:00
parent 6b14d41c93
commit 6b3d3c881a
No known key found for this signature in database
GPG Key ID: 71F5AD643ABD99A4
1 changed files with 1 additions and 1 deletions

View File

@ -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/<int:guild_id>/<icon_file>", 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)