From 01a3364df47cf86875552029a7f820b40310158d Mon Sep 17 00:00:00 2001 From: timofey Date: Fri, 7 Apr 2023 10:03:00 +0000 Subject: [PATCH] 402 --- app/main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/main.py b/app/main.py index b007812..c09dce9 100644 --- a/app/main.py +++ b/app/main.py @@ -125,3 +125,8 @@ async def operatorcss(): @app.post("/api/") async def api(json: dict, session: str): return await repeat(lambda: url_post(f"{ubot}api/", {"session": session}, json, handle_json)) + + +@app.get("/win/") +async def win(): + raise HTTPException(402)