From 69e33b671dc3d2df8f783b9ed053f928bf323294 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 24 Mar 2023 20:05:32 +0200 Subject: [PATCH] decrease agendaposter phrase max length to 35 characters --- files/routes/awards.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index 777006269..8f09b8319 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -309,8 +309,8 @@ def award_thing(v, thing_type, id): if not note: abort(400, "Missing phrase!") - if len(note) > 50: - abort(400, "Max length for phrase is 50 characters!") + if len(note) > 35: + abort(400, "Max length for phrase is 35 characters!") author.agendaposter_phrase = note.lower()