fix referrals and tariff name in key view

This commit is contained in:
Vladless
2025-06-13 08:05:18 +03:00
parent 1e6c901e43
commit 6f8bc8ad24
2 changed files with 4 additions and 8 deletions
+3
View File
@@ -239,6 +239,9 @@ async def handle_referral_link(
return
user_exists = await check_user_exists(session, user_id)
if user_exists:
await message.answer("❌ Вы уже зарегистрированы и не можете стать рефералом.")
return
if not user_exists:
if isinstance(user, dict):
await add_user(session=session, **user)