forked from rDrama/rDrama
capitalize word
parent
b819fa51d0
commit
d8b998a3c5
|
@ -347,7 +347,7 @@ def execute_antispam_submission_check(title, v, url):
|
||||||
user_id=AUTOJANNY_ID,
|
user_id=AUTOJANNY_ID,
|
||||||
target_submission_id=post.id,
|
target_submission_id=post.id,
|
||||||
kind="ban_post",
|
kind="ban_post",
|
||||||
_note="spam"
|
_note="Spam"
|
||||||
)
|
)
|
||||||
g.db.add(ma)
|
g.db.add(ma)
|
||||||
return False
|
return False
|
||||||
|
@ -403,7 +403,7 @@ def execute_antispam_comment_check(body:str, v:User):
|
||||||
user_id=AUTOJANNY_ID,
|
user_id=AUTOJANNY_ID,
|
||||||
target_comment_id=comment.id,
|
target_comment_id=comment.id,
|
||||||
kind="ban_comment",
|
kind="ban_comment",
|
||||||
_note="spam"
|
_note="Spam"
|
||||||
)
|
)
|
||||||
g.db.add(ma)
|
g.db.add(ma)
|
||||||
g.db.commit()
|
g.db.commit()
|
||||||
|
|
Loading…
Reference in New Issue