print json
This commit is contained in:
1 parent
0c113739ee
commit
62be2d30f3
1 file changed
+2
@@ -9,6 +9,8 @@ app.openapi = custom_openapi(app)
|
|||||||
@app.get("/", dependencies=[Depends(auth_web)])
|
@app.get("/", dependencies=[Depends(auth_web)])
|
||||||
@app.post("/", dependencies=[Depends(auth_hook)])
|
@app.post("/", dependencies=[Depends(auth_hook)])
|
||||||
async def hook(req: Request):
|
async def hook(req: Request):
|
||||||
|
json = await req.json()
|
||||||
|
print(json)
|
||||||
return "Update"
|
return "Update"
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user