add 335 to badges that require a URL

pull/227/head
Aevann 2024-05-23 02:30:24 +03:00
parent d75afb2918
commit b566a82599
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ def badge_grant_post(v):
description = request.values.get("description")
url = request.values.get("url", "").strip()
if badge_id in {63,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,335} and not url:
abort(400, "This badge requires a url!")
if url: