fix
This commit is contained in:
parent
a113ffdfda
commit
8fb2a4f7b7
1 changed files with 0 additions and 5 deletions
|
@ -30,11 +30,6 @@ async def root():
|
||||||
return {'message': 'Hello World'}
|
return {'message': 'Hello World'}
|
||||||
|
|
||||||
|
|
||||||
# @app.post("/authentik/hook/")
|
|
||||||
# async def hook(r: Request):
|
|
||||||
# logging.info(await r.json())
|
|
||||||
# return 200
|
|
||||||
|
|
||||||
@app.post("/authentik/hook/")
|
@app.post("/authentik/hook/")
|
||||||
async def hook(model: Hook_Model, http_request: Http_request):
|
async def hook(model: Hook_Model, http_request: Http_request):
|
||||||
# print(await request.body())
|
# print(await request.body())
|
||||||
|
|
Loading…
Reference in a new issue