From c7dee1ab56766b284b90d647a0e719e06e1ec975 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 19 Aug 2023 00:06:57 +0300 Subject: [PATCH] remove url requirement for sk8r boi badge --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 9c35d0006..7d586cbda 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -488,7 +488,7 @@ def badge_grant_post(v): description = request.values.get("description") url = request.values.get("url", "").strip() - if badge_id in {63,66,74,149,178,180,240,241,242,248,286,291,293} and not url: + if badge_id in {63,74,149,178,180,240,241,242,248,286,291,293} and not url: abort(400, "This badge requires a url!") if url: