new url
This commit is contained in:
parent
11fbb2d22b
commit
bc126cdd9c
|
@ -9,7 +9,7 @@ app = FastAPI()
|
|||
|
||||
@app.get("/")
|
||||
def read_root():
|
||||
return {"Hello": "World"}
|
||||
return {"service": "BX integrations"}
|
||||
|
||||
|
||||
@app.post("/integration")
|
||||
|
@ -36,7 +36,8 @@ async def intgr(request: Request):
|
|||
|
||||
return {"status": "success"}
|
||||
|
||||
@app.post("integration_tg")
|
||||
|
||||
@app.post("/integration_tg")
|
||||
async def tg_intgr(request: Request):
|
||||
body = await request.json()
|
||||
logger.info(body)
|
||||
|
|
Loading…
Reference in New Issue