Skip to content

Commit

Permalink
Fix incorrect size redefinition.
Browse files Browse the repository at this point in the history
Signed-off-by: Aterfax <Aterfax@users.noreply.github.com>
  • Loading branch information
Aterfax authored Aug 23, 2024
1 parent a6225ad commit 3d8a5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/sources/discord/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def get_as_base64(url):

def get_avatar_from_avatar_url(url):
"""Returns an authentik-avatar-attributes-compatible string from an image url"""
cut_url = f"{url}?size=64"
cut_url = f"{url}"
return AVATAR_STREAM_CONTENT.format(
base64_string=(get_as_base64(cut_url).decode("utf-8"))
)
Expand Down

0 comments on commit 3d8a5d9

Please sign in to comment.