mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 01:53:39 +01:00
Include /bridge in schema
This commit is contained in:
parent
1e0a391ae5
commit
972c77953a
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ async def authenticate(req: Request, code: str = None, state: str = None):
|
|||
return response
|
||||
|
||||
|
||||
@app.post("/bridge", include_in_schema=False, status_code=201, dependencies=[Depends(is_authenticated)]
|
||||
@app.post("/bridge", status_code=201, dependencies=[Depends(is_authenticated)]
|
||||
async def bridge(req: Request):
|
||||
now = datetime.utcnow()
|
||||
ts_diff = (now - app.state.last_sender_ts).total_seconds()
|
||||
|
|
Loading…
Reference in a new issue