test
This commit is contained in:
parent
7680dd143e
commit
209d4b0588
|
@ -1,5 +1,4 @@
|
||||||
from typing import Union
|
from fastapi import FastAPI, Request
|
||||||
from fastapi import FastAPI
|
|
||||||
|
|
||||||
from app.constants import logger
|
from app.constants import logger
|
||||||
|
|
||||||
|
@ -12,6 +11,7 @@ def read_root():
|
||||||
|
|
||||||
|
|
||||||
@app.post("/integration")
|
@app.post("/integration")
|
||||||
def intgr(body):
|
async def intgr(request: Request):
|
||||||
|
body = await request.json()
|
||||||
logger.info(body)
|
logger.info(body)
|
||||||
return {"status": "success"}
|
return {"status": "success"}
|
||||||
|
|
Loading…
Reference in New Issue