twitter #2

Merged
s434708 merged 50 commits from twitter into master 2022-06-09 19:42:33 +02:00
Showing only changes of commit edb98740a0 - Show all commits

View File

@ -125,7 +125,7 @@ def delete_twitter_campaign():
if 'campaign_id' not in request_json:
return "Invalid request!", 400
twitter_campaign = TwitterAccount.query.filter_by(user_id=user_id, id=request_json['campaign_id']).first()
twitter_campaign = TwitterCampaign.query.filter_by(user_id=user_id, id=request_json['campaign_id']).first()
if not twitter_campaign:
return "Capmaign not found!", 404