forked from rDrama/rDrama
decrease agendaposter phrase max length to 35 characters
parent
94a5598bed
commit
69e33b671d
|
@ -309,8 +309,8 @@ def award_thing(v, thing_type, id):
|
||||||
|
|
||||||
if not note: abort(400, "Missing phrase!")
|
if not note: abort(400, "Missing phrase!")
|
||||||
|
|
||||||
if len(note) > 50:
|
if len(note) > 35:
|
||||||
abort(400, "Max length for phrase is 50 characters!")
|
abort(400, "Max length for phrase is 35 characters!")
|
||||||
|
|
||||||
author.agendaposter_phrase = note.lower()
|
author.agendaposter_phrase = note.lower()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue