MatteoScript commited on
Commit
7660e28
·
verified ·
1 Parent(s): 8e9508a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -13,7 +13,8 @@ app.add_middleware(
13
  )
14
 
15
  @app.post("/")
16
- async def webhook(data: dict):
 
17
  print(data)
18
  headers = {
19
  'Content-Type': 'application/json',
 
13
  )
14
 
15
  @app.post("/")
16
+ async def webhook(data: dict, request: Request):
17
+ print(request)
18
  print(data)
19
  headers = {
20
  'Content-Type': 'application/json',