forked from rDrama/rDrama
fdfd
parent
61958b6e16
commit
ad95483303
|
@ -852,7 +852,7 @@ def api_sticky_post(post_id, v):
|
||||||
g.db.add(post)
|
g.db.add(post)
|
||||||
|
|
||||||
ma=ModAction(
|
ma=ModAction(
|
||||||
kind="unpin_post" if post.stickied else "pin_post",
|
kind="pin_post" if post.stickied else "unpin_post",
|
||||||
user_id=v.id,
|
user_id=v.id,
|
||||||
target_submission_id=post.id
|
target_submission_id=post.id
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue