Update admin_stats.py

This commit is contained in:
Egor
2026-01-27 16:13:14 +03:00
committed by GitHub
parent 67a75235fd
commit affca76ec0

View File

@@ -849,7 +849,7 @@ async def get_recent_payments(
user_ids = list({t.user_id for t in transactions})
if user_ids:
users_query = await db.execute(
select(User.id, User.telegram_id, User.username, User.first_name, User.last_name).where(
select(User.id, User.telegram_id, User.username, User.first_name, User.last_name, User.email).where(
User.id.in_(user_ids)
)
)