forked from MarseyWorld/MarseyWorld
fdfd
parent
2c6cbce7c6
commit
9caa563aa3
|
@ -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…
Reference in New Issue