From d241cf5e2013efeada0bc9349d8d6e1be5c943b5 Mon Sep 17 00:00:00 2001 From: Dev Bhaskar Singh Date: Sun, 21 Jan 2024 08:45:43 +0530 Subject: [PATCH] upgrade --- pyproject.toml | 4 ++-- src/paste/main.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ed82110..c2e33bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "" version = "" description = "" authors = [ - {name = "Kanishk Pachauri", email = "itskanishkp.py@gmail.com"}, + {name = "Kanishk Pachaur", email = "itskanishkp.py@gmail.com"}, ] dependencies = [ "fastapi[all]>=0.104.1", @@ -41,4 +41,4 @@ typing = [ [tool.ruff] line-length = 160 -exclude = ["data/*", ".git"] \ No newline at end of file +exclude = ["data/*", ".git"] diff --git a/src/paste/main.py b/src/paste/main.py index 5444f40..c588164 100644 --- a/src/paste/main.py +++ b/src/paste/main.py @@ -283,7 +283,7 @@ async def web_post(request: Request, content: str = Form(...), extension: Option @app.get("/health", status_code=status.HTTP_200_OK) async def health() -> dict[str, str]: - return {"status": "ok"} + return {{"status": "ok"}} @app.get("/languages.json", response_class=JSONResponse)