mirror of https://gitlab.com/litecord/litecord.git
Possibly fix discovery-splashes icon get
This commit is contained in:
parent
bdc576b777
commit
6b14d41c93
|
|
@ -109,3 +109,7 @@ async def _get_guild_banner(guild_id: int, icon_file: str):
|
|||
icon_hash, ext = splitext_(icon_file)
|
||||
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):
|
||||
icon_hash, ext = splitext_(icon_file)
|
||||
return await send_icon("discovery-splash", guild_id, icon_hash, ext=ext)
|
||||
Loading…
Reference in New Issue