alanchen1115 commited on
Commit
7a8d7b0
1 Parent(s): 1da6583

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -23,8 +23,8 @@ app.add_middleware(
23
  allow_headers=["*"],
24
  )
25
 
26
- line_bot_api = LineBotApi(os.environ["line_bot_api"])
27
- line_handler = WebhookHandler(os.environ["line_handler"])
28
 
29
  working_status = os.getenv("DEFALUT_TALKING", default = "true").lower() == "true"
30
 
 
23
  allow_headers=["*"],
24
  )
25
 
26
+ line_bot_api = LineBotApi(os.environ["CHANNEL_ACCESS_TOKEN"])
27
+ line_handler = WebhookHandler(os.environ["CHANNEL_SECRET"])
28
 
29
  working_status = os.getenv("DEFALUT_TALKING", default = "true").lower() == "true"
30