dfs
parent
a9cc73bb7e
commit
957cf5ba8f
|
@ -669,7 +669,7 @@ def admin_userawards_post(v):
|
||||||
for key, value in notify_awards.items():
|
for key, value in notify_awards.items():
|
||||||
note += f"{value} {AWARDS[key]['title']}, "
|
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(
|
ma=ModAction(
|
||||||
kind="grant_awards",
|
kind="grant_awards",
|
||||||
|
|
|
@ -380,7 +380,7 @@ CREATE TABLE public.modactions (
|
||||||
target_comment_id integer,
|
target_comment_id integer,
|
||||||
created_utc integer NOT NULL,
|
created_utc integer NOT NULL,
|
||||||
kind character varying(32) DEFAULT NULL::character varying,
|
kind character varying(32) DEFAULT NULL::character varying,
|
||||||
_note character varying(256) DEFAULT NULL::character varying
|
_note character varying(500) DEFAULT NULL::character varying
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue