rabiyulfahim commited on
Commit
9198bda
·
verified ·
1 Parent(s): afa77d8

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +1 -8
app/main.py CHANGED
@@ -7,18 +7,11 @@ from app.bot_utils import fetch_stock_summary, send_telegram_message
7
 
8
  app = FastAPI()
9
 
10
- import os
11
- from dotenv import load_dotenv
12
-
13
- load_dotenv() # Loads from .env file
14
-
15
- BOT_TOKEN = os.getenv("TELEGRAM_BOT_TOKEN")
16
- CHAT_ID = os.getenv("TELEGRAM_CHAT_ID")
17
 
18
  @app.get("/")
19
  def read_root():
20
 
21
- return {"Message": f"Server running{BOT_TOKEN} - {CHAT_ID}"}
22
 
23
 
24
  @app.get("/send-stock-alert/")
 
7
 
8
  app = FastAPI()
9
 
 
 
 
 
 
 
 
10
 
11
  @app.get("/")
12
  def read_root():
13
 
14
+ return {"Message": f"Server running"}
15
 
16
 
17
  @app.get("/send-stock-alert/")