From 43288698e916ad1fd75540df926035778a39464b Mon Sep 17 00:00:00 2001 From: Alexander Kalinovsky Date: Sat, 12 Apr 2025 17:20:27 +0700 Subject: [PATCH] fix bot_init --- src/quickbot/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(