From ad95483303aaa6f5a84afa5c2fb6531b81991a65 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 27 Aug 2021 23:23:18 +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 9b169ef90..40073334e 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="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 )