diff --git a/src/quickbot/main.py b/src/quickbot/main.py index 51f4794..5561d71 100644 --- a/src/quickbot/main.py +++ b/src/quickbot/main.py @@ -171,7 +171,7 @@ class QBotApp(Generic[UserType, ConfigType], FastAPI): url=f"{self.config.TELEGRAM_WEBHOOK_URL}/telegram/webhook", drop_pending_updates=True, allowed_updates=self.allowed_updates, - secret_token=self.webhook_auth_key, + secret_token=self.config.TELEGRAM_WEBHOOK_AUTH_KEY, ) async def show_form(