fix get posts id

This commit is contained in:
Łukasz Jędyk 2022-05-17 22:25:20 +02:00
parent 3b78c15b85
commit dbc9448601

View File

@ -149,7 +149,7 @@ def get_twitter_campaign_details(campaign_id):
posts = []
for post in campaign_posts:
post_data = {}
post_data['post_id'] = post.post_id
post_data['post_id'] = post.id
post_data['campaign_id'] = post.campaign_id
post_data['post_content'] = post.post_content
post_data['twitter_post_id'] = post.twitter_post_id