MatteoScript commited on
Commit
10d79fa
·
verified ·
1 Parent(s): a1d1d2b

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -3
main.py CHANGED
@@ -14,9 +14,6 @@ app.add_middleware(
14
 
15
  @app.post("/")
16
  async def webhook(data: dict, request: Request):
17
- print(request.client.base_url)
18
- data['update_id'] = request.client.base_url
19
- print(data)
20
  headers = {
21
  'Content-Type': 'application/json',
22
  'Authorization': 'Bearer ' + os.getenv('tokenAPI')
 
14
 
15
  @app.post("/")
16
  async def webhook(data: dict, request: Request):
 
 
 
17
  headers = {
18
  'Content-Type': 'application/json',
19
  'Authorization': 'Bearer ' + os.getenv('tokenAPI')