fix get posts id
This commit is contained in:
parent
3b78c15b85
commit
dbc9448601
@ -149,7 +149,7 @@ def get_twitter_campaign_details(campaign_id):
|
|||||||
posts = []
|
posts = []
|
||||||
for post in campaign_posts:
|
for post in campaign_posts:
|
||||||
post_data = {}
|
post_data = {}
|
||||||
post_data['post_id'] = post.post_id
|
post_data['post_id'] = post.id
|
||||||
post_data['campaign_id'] = post.campaign_id
|
post_data['campaign_id'] = post.campaign_id
|
||||||
post_data['post_content'] = post.post_content
|
post_data['post_content'] = post.post_content
|
||||||
post_data['twitter_post_id'] = post.twitter_post_id
|
post_data['twitter_post_id'] = post.twitter_post_id
|
||||||
|
Loading…
Reference in New Issue
Block a user