fix: change token url

This commit is contained in:
Artem Tsyrulnikov
2025-11-25 18:22:12 +03:00
parent a60daddcf1
commit c32635839a

View File

@@ -25,7 +25,7 @@ async def telegram_login(self: 'Usecase', input: dto.TelegramLoginInput) -> None
await self.database.create_login_token(user.id, token, expires_at)
login_url = f'{settings.app.URL}/api/v1/auth/complete?token={token}'
login_url = f'{settings.app.URL}{token}'
username_display = f'@{user.username}' if user.username else 'пользователь'
await self.telegram_bot.send_message_with_button(