fdfd
This commit is contained in:
parent
ae0177a5ae
commit
a402276a98
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue