print json

This commit is contained in:
Jimmy 2022-02-21 02:25:35 +00:00
parent 0c113739ee
commit 62be2d30f3
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ app.openapi = custom_openapi(app)
@app.get("/", dependencies=[Depends(auth_web)])
@app.post("/", dependencies=[Depends(auth_hook)])
async def hook(req: Request):
json = await req.json()
print(json)
return "Update"