[ВОЛК] исправление поля marked_to_publication
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-12-25 22:38:04 +03:00
parent 1cda8969db
commit bc8b1569aa
+2 -2
View File
@@ -835,8 +835,8 @@ def api_mark_all_posts_for_publication():
with db.conn.cursor() as cursor: with db.conn.cursor() as cursor:
cursor.execute(""" cursor.execute("""
UPDATE posts UPDATE posts
SET marked_to_publication = 1 SET marked_for_publication = 1
WHERE marked_to_publication = 0 WHERE marked_for_publication = 0
""") """)
count = cursor.rowcount count = cursor.rowcount
db.conn.commit() db.conn.commit()