From 61958b6e162d0c2dc242c4941f71d5285d7189a9 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 27 Aug 2021 23:21:51 +0200 Subject: [PATCH] fdfd --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 05a991b17c..9b169ef905 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -852,7 +852,7 @@ def api_sticky_post(post_id, v): g.db.add(post) ma=ModAction( - kind="pin_post" if post.is_pinned else "unpin_post", + kind="unpin_post" if post.stickied else "pin_post", user_id=v.id, target_submission_id=post.id )