alanchen1115 commited on
Commit
9a45992
1 Parent(s): 6de63f6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -3
main.py CHANGED
@@ -6,9 +6,11 @@ from starlette.exceptions import HTTPException
6
  import os
7
 
8
  app = FastAPI()
9
- line_bot_api = LineBotApi(os.environ["LINE_CHANNEL_ACCESS_TOKEN"])
10
- handler = WebhookHandler(os.environ["LINE_CHANNEL_SECRET"])
11
-
 
 
12
  @app.get("/")
13
  def root():
14
  return {"title": "Echo Bot"}
 
6
  import os
7
 
8
  app = FastAPI()
9
+ # line_bot_api = LineBotApi(os.environ["LINE_CHANNEL_ACCESS_TOKEN"])
10
+ # handler = WebhookHandler(os.environ["LINE_CHANNEL_SECRET"])
11
+ line_bot_api = LineBotApi(os.environ["ZwnEWwK46AUmRDOFXJOwUh1TqAELahP+kxHY0iBevF8JiEUe0CBQpkW2Gpo3C38LOaIX7hpW4IuTOSOjVof+DX9XgZg8MTeh5Iz+NDLlw6KKMtqNsyR6zt9CMnsso21ieifC/S8dcgXx3iKlhdS7UAdB04t89/1O/w1cDnyilFU="])
12
+ handler = WebhookHandler(os.environ["7b9984bbc5c62445a79b95b15e34b727"])
13
+
14
  @app.get("/")
15
  def root():
16
  return {"title": "Echo Bot"}