diff --git a/.env.sample b/.env.sample index 54ed4f6..5e3ab8c 100644 --- a/.env.sample +++ b/.env.sample @@ -8,3 +8,4 @@ RABBIT_URL=RABBIT_URL TELEGRAM_BOT_TOKEN=TELEGRAM_BOT_TOKEN CHAT_ID=CHAT_ID CHAT_URL=CHAT_URL +DOMAIN=http://localhost:8080 diff --git a/notifications_service/management/commands/run_telegram_bot.py b/notifications_service/management/commands/run_telegram_bot.py index 83ff9f9..ad459c2 100644 --- a/notifications_service/management/commands/run_telegram_bot.py +++ b/notifications_service/management/commands/run_telegram_bot.py @@ -1,7 +1,7 @@ import telebot from django.core.management import BaseCommand -from core.settings import CHAT_ID, TELEGRAM_BOT_TOKEN +from core.settings import TELEGRAM_BOT_TOKEN from notifications_service.bot_commands import (welcome_message, help_information, user_borrowings,