From bc8b1569aa5295a456183d7e12af9e006d737110 Mon Sep 17 00:00:00 2001 From: gitadmin Date: Thu, 25 Dec 2025 22:38:04 +0300 Subject: [PATCH] =?UTF-8?q?[=D0=92=D0=9E=D0=9B=D0=9A]=20=D0=B8=D1=81=D0=BF?= =?UTF-8?q?=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=BE?= =?UTF-8?q?=D0=BB=D1=8F=20marked=5Fto=5Fpublication?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db_edit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db_edit.py b/db_edit.py index df04c28..b4ba391 100644 --- a/db_edit.py +++ b/db_edit.py @@ -835,8 +835,8 @@ def api_mark_all_posts_for_publication(): with db.conn.cursor() as cursor: cursor.execute(""" UPDATE posts - SET marked_to_publication = 1 - WHERE marked_to_publication = 0 + SET marked_for_publication = 1 + WHERE marked_for_publication = 0 """) count = cursor.rowcount db.conn.commit()