forked from MarseyWorld/MarseyWorld
url limit 3 more badges
parent
6348bd6ce4
commit
d9e0e83639
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue