Skip to content

Commit 85ee09f

Browse files
code refactored
1 parent a7bff3c commit 85ee09f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tasks/schedulers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async def get_articles(self):
9292

9393
async def send_tweet(self, tweet: dict[str, str]):
9494
try:
95-
self._tweepy_api.update_status(status=tweet.get('status'), media_ids=tweet.get('media_ids'))
95+
self._tweepy_api.update_status(status=tweet.get('status'))
9696
return True
9797
except Forbidden as e:
9898
self._logger.error(f"Error updating status: {str(e)}")

0 commit comments

Comments
 (0)