url limit 3 more badges

master
Aevann 2023-08-06 00:05:10 +03:00
parent 6348bd6ce4
commit d9e0e83639
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ def badge_grant_post(v):
description = request.values.get("description")
url = request.values.get("url", "").strip()
if badge_id in {63,66,149,178,180,240,242,286,291,293} and not url:
if badge_id in {63,66,74,149,178,180,240,241,242,248,286,291,293} and not url:
abort(400, "This badge requires a url!")
if url: