This commit is contained in:
+2
-2
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user