This commit is contained in:
Aevann1 2021-08-27 23:23:18 +02:00
parent 3d30ed2fc3
commit 90753fa6f0

View file

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