From ababa1172152c84058244bf870e2791287c15a7c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 21 Sep 2021 21:07:12 +0200 Subject: [PATCH] fdsfsd --- files/classes/mod_logs.py | 4 ++-- files/routes/posts.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/files/classes/mod_logs.py b/files/classes/mod_logs.py index 94e17dc05..c0206efd7 100644 --- a/files/classes/mod_logs.py +++ b/files/classes/mod_logs.py @@ -220,12 +220,12 @@ ACTIONTYPES={ "color": "bg-muted", }, "club":{ - "str": 'marked post {self.target_link} as viewable to users with +150 coins only', + "str": 'marked post {self.target_link} as club-only', "icon":"fa-eye-slash", "color": "bg-danger", }, "unclub":{ - "str": 'unmarked post {self.target_link} as viewable to users with +150 coins only', + "str": 'unmarked post {self.target_link} as club-only', "icon":"fa-eye", "color": "bg-muted", }, diff --git a/files/routes/posts.py b/files/routes/posts.py index 438794b1a..c178481a9 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -48,8 +48,8 @@ def toggle_club(pid, v): g.db.commit() - if post.club: return {"message": "Post has been marked as +150-coins only!"} - else: return {"message": "Post has been unmarked as +150-coins only!"} + if post.club: return {"message": "Post has been marked as club-only!"} + else: return {"message": "Post has been unmarked as club-only!"} @app.post("/publish/")