fix twitter post response

This commit is contained in:
Łukasz Jędyk 2022-01-24 23:32:06 +01:00
parent 9af91e3760
commit 7eeff9bd4c

View File

@ -52,7 +52,7 @@ def add_twitter_account():
response = oauth.post(
"https://api.twitter.com/2/tweets",
json={"text": generated_content},
)
).json()
# save campaign to database
new_twitter_campaign = TwitterCampaign(