remove url requirement for sk8r boi badge

master
Aevann 2023-08-19 00:06:57 +03:00
parent 1962fe4d2d
commit c7dee1ab56
1 changed files with 1 additions and 1 deletions

View File

@ -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: