diff --git a/files/routes/awards.py b/files/routes/awards.py index 33cf79398..4c43ff2e4 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -669,7 +669,7 @@ def admin_userawards_post(v): for key, value in notify_awards.items(): note += f"{value} {AWARDS[key]['title']}, " - if len(note) > 256: return {"error": "You're giving too many awards at the same time!"} + if len(note) > 500: return {"error": "You're giving too many awards at the same time!"} ma=ModAction( kind="grant_awards", diff --git a/schema.sql b/schema.sql index bf01d0004..ba21c97c6 100644 --- a/schema.sql +++ b/schema.sql @@ -380,7 +380,7 @@ CREATE TABLE public.modactions ( target_comment_id integer, created_utc integer NOT NULL, kind character varying(32) DEFAULT NULL::character varying, - _note character varying(256) DEFAULT NULL::character varying + _note character varying(500) DEFAULT NULL::character varying );