feat: show linked emails in telegram logs

This commit is contained in:
3252a8
2026-05-24 22:32:35 +03:00
parent a60de46173
commit bafc5f4709
12 changed files with 129 additions and 31 deletions
@@ -112,6 +112,7 @@ class PromoCodeService:
promo_code=code_input_upper,
bonus_days=bonus_days,
username=user.username if user else None,
email=getattr(user, "email", None) if user else None,
)
except Exception as e:
logging.error(f"Failed to send promo activation notification: {e}")