From f24684b1c87777ec2e063d11468ebc9aa6e3eed3 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Sat, 8 Mar 2025 02:16:03 +0100 Subject: [PATCH] Fix --- src/backend/src/config.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/src/config.rs b/src/backend/src/config.rs index 9f17635..4bce952 100644 --- a/src/backend/src/config.rs +++ b/src/backend/src/config.rs @@ -25,7 +25,8 @@ pub struct Config { impl Config { fn load() -> Self { Self { - telegram_bot_token: std::env::var("BOT_TOKEN").expect("BOT_TOKEN is not set"), + telegram_bot_token: std::env::var("TELEGRAM_BOT_TOKEN") + .expect("TELEGRAM_BOT_TOKEN is not set"), telegram_webhook_url: std::env::var("TELEGRAM_WEBHOOK_URL") .expect("TELEGRAM_WEBHOOK_URL is not set"),