Skip to content
Snippets Groups Projects
Commit b10f3819 authored by OndraRehounek's avatar OndraRehounek
Browse files

hotfix/keep-return-type-in-twitter-servicei

parent a0d6852c
No related branches found
No related tags found
2 merge requests!622hotfix/keep-return-type-in-twitter-servicei,!621hotfix/keep-return-type-in-twitter-servicei
Pipeline #9764 passed
......@@ -56,7 +56,7 @@ class TweetDownloadService:
user_fields=["name", "username"],
)
return tweets_response.data
return tweets_response.data or []
def get_user_list_data(self) -> list["User"]:
twitter_usernames_block = MainHomePage.objects.first().twitter_usernames
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment