also publish
This commit is contained in:
@@ -967,7 +967,7 @@ async def run_weekly():
|
|||||||
|
|
||||||
# Create + publish + email
|
# Create + publish + email
|
||||||
created = ghost.create_post_html(title, html_body, status="draft", feature_image=feature)
|
created = ghost.create_post_html(title, html_body, status="draft", feature_image=feature)
|
||||||
#ghost.publish_post(created["id"], created["updated_at"], newsletter_slug=newsletter_slug)
|
ghost.publish_post(created["id"], created["updated_at"], newsletter_slug=newsletter_slug)
|
||||||
|
|
||||||
post_id = created["id"]
|
post_id = created["id"]
|
||||||
if xgp_items and post_id:
|
if xgp_items and post_id:
|
||||||
|
|||||||
Reference in New Issue
Block a user