From 24c23ef5719b0a5ea635374636211210a72191aa Mon Sep 17 00:00:00 2001 From: yuuki <> Date: Tue, 4 Mar 2025 00:52:59 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BD=99=E5=88=86=E3=81=AA=E3=82=B9=E3=83=9A?= =?UTF-8?q?=E3=83=BC=E3=82=B9=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 7950f93..a65fda1 100644 --- a/app.py +++ b/app.py @@ -218,7 +218,7 @@ async def api_ng_post(item: NGItem): return PlainTextResponse("OK") -@app.post("/api/ng/delete", dependencies=[Depends(RateLimiter(times=1, seconds=86400))] ) +@app.post("/api/ng/delete", dependencies=[Depends(RateLimiter(times=1, seconds=86400))]) async def api_ng_delete(item: NGItem): ctx["mongo_client"].litey.ngs.delete_one({ "word": item.word