fix: change token url
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user