From ac8c1d524d3d8771577c4cf264b84483988f171d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 14 Nov 2022 07:49:14 +0200 Subject: [PATCH] "moved into cc" -> "marked as cc" --- files/routes/posts.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 512589e4d..7bca24c5e 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -47,10 +47,10 @@ def club_post(pid, v): ) g.db.add(ma) - message = f"@{v.username} (Admin) has moved [{post.title}]({post.shortlink}) to the {CC_TITLE}!" + message = f"@{v.username} (Admin) has marked [{post.title}]({post.shortlink}) as {CC_TITLE}!" send_repeatable_notification(post.author_id, message) - return {"message": f"Post has been moved to the {CC_TITLE}!"} + return {"message": f"Post has been marked as {CC_TITLE}!"} @app.post("/unclub_post/") @auth_required @@ -71,10 +71,10 @@ def unclub_post(pid, v): ) g.db.add(ma) - message = f"@{v.username} (Admin) has removed [{post.title}]({post.shortlink}) from the {CC_TITLE}!" + message = f"@{v.username} (Admin) has unmarked [{post.title}]({post.shortlink}) as {CC_TITLE}!" send_repeatable_notification(post.author_id, message) - return {"message": f"Post has been removed from the {CC_TITLE}!"} + return {"message": f"Post has been unmarked as {CC_TITLE}!"} @app.post("/publish/")