mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 10:03:40 +01:00
Fix unclosed bracket
This commit is contained in:
parent
6ca4489e02
commit
5449a7d4ce
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
|
return response
|
||||||
|
|
||||||
|
|
||||||
@app.post("/bridge", status_code=201, dependencies=[Depends(is_authenticated)]
|
@app.post("/bridge", status_code=201, dependencies=[Depends(is_authenticated)])
|
||||||
async def bridge(req: Request):
|
async def bridge(req: Request):
|
||||||
now = datetime.utcnow()
|
now = datetime.utcnow()
|
||||||
ts_diff = (now - app.state.last_sender_ts).total_seconds()
|
ts_diff = (now - app.state.last_sender_ts).total_seconds()
|
||||||
|
|
Loading…
Reference in a new issue