master
Aevann1 2021-08-27 23:23:18 +02:00
parent 61958b6e16
commit ad95483303
1 changed files with 1 additions and 1 deletions

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
)