From 12cab76d16215c4f0f9aff4a0b288181ef00d94c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 27 Aug 2021 21:34:38 +0200 Subject: [PATCH] fdfd --- files/routes/admin.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/routes/admin.py b/files/routes/admin.py index f87c02e59..f80214eb4 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -99,6 +99,11 @@ def flagged_comments(v): v=v, standalone=True) +@app.get("/admin/test") +@limiter.limit("1/day") +def admin_test(v): + return "fug" + @app.get("/admin") @admin_level_required(3) def admin_home(v):