This commit is contained in:
Aevann1 2022-01-13 02:06:24 +02:00
parent 034bc754f8
commit 047a13ff2c
2 changed files with 1 additions and 2 deletions

View file

@ -440,7 +440,6 @@ def badge_grant_post(v):
return render_template(f"{template}admin/badge_grant.html", v=v, badge_types=BADGES, error="User already has that badge.")
new_badge = Badge(badge_id=badge_id, user_id=user.id)
send_notification(user.id, f"@AutoJanny has given you the following profile badge:\n\n![]({new_badge.path})\n\n{new_badge.name}")
desc = request.values.get("description")
if desc: new_badge.description = desc