[ВОЛК] исправление поля 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:
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()