master
Aevann1 2021-08-27 23:20:06 +02:00
parent 2c6cbce7c6
commit 9caa563aa3
1 changed files with 1 additions and 1 deletions

View File

@ -854,7 +854,7 @@ def api_sticky_post(post_id, v):
ma=ModAction(
kind="pin_post" if post.is_pinned else "unpin_post",
user_id=v.id,
target_post_id=post.id
target_submission_id=post.id
)
g.db.add(ma)