1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

Авторизация починка

This commit is contained in:
MoonTestUse1
2024-12-28 08:01:50 +06:00
parent 60c178e752
commit 7e38f1c351
2 changed files with 6 additions and 3 deletions

View File

@@ -7,8 +7,8 @@ from pydantic import Field
class Settings(BaseSettings):
"""Bot configuration settings"""
bot_token: str = Field("7677506032:AAHduD5EePz3bE23DKlo35KoOp2_9lZuS34", env="TELEGRAM_BOT_TOKEN")
chat_id: str = Field("5057752127", env="TELEGRAM_CHAT_ID")
bot_token: str = Field(..., env="TELEGRAM_BOT_TOKEN")
chat_id: str = Field(..., env="TELEGRAM_CHAT_ID")
class Config:
env_file = ".env"