[twitter] Fix issue with twitter exceeding request count
This commit is contained in:
parent
ab9e8faf19
commit
b1997e46c2
|
@ -43,7 +43,7 @@ async def twitter_read_all_public(hood=Depends(get_hood_unauthorized)):
|
||||||
return [
|
return [
|
||||||
BodyTwitterPublic(username=twitterbot.username)
|
BodyTwitterPublic(username=twitterbot.username)
|
||||||
for twitterbot in twitterbots
|
for twitterbot in twitterbots
|
||||||
if twitterbot.verified == 1 and twitterbot.enabled == 1
|
if twitterbot.verified == 1 and twitterbot.enabled == 1 and twitterbot.username
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue