Skip to content

Commit f967d0d

Browse files
committed
fix: strapi upload script
1 parent e4f4eda commit f967d0d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

blog/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def upload_blog(blog: StrapiBlog):
153153
)
154154
else:
155155
# New blog
156+
blog.meta_desc = blog.title
156157
create_response = session.post(
157158
base_url, headers=headers, data=json.dumps(blog.get_post_json())
158159
)

0 commit comments

Comments
 (0)