twitter #2

Merged
s434708 merged 50 commits from twitter into master 2022-06-09 19:42:33 +02:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 9af91e3760 - Show all commits

View File

@ -21,7 +21,6 @@ def create_app():
twitter_db.init_app(app) twitter_db.init_app(app)
campaign_db.init_app(app) campaign_db.init_app(app)
twitter_db.drop_all(app=app)
twitter_db.create_all(app=app) twitter_db.create_all(app=app)
campaign_db.drop_all(app=app) campaign_db.drop_all(app=app)
campaign_db.create_all(app=app) campaign_db.create_all(app=app)

View File

@ -13,7 +13,7 @@ def get_twitter_accounts():
for account in twitter_accounts: for account in twitter_accounts:
account_data = {} account_data = {}
account_data['twitter_user_id'] = account.twitter_user_id account_data['twitter_account_id'] = account.twitter_account_id
account_data['username'] = account.username account_data['username'] = account.username
accounts.append(account_data) accounts.append(account_data)