added missing Api.favorites to getPoolJson

This commit is contained in:
PrivacyDev 2023-06-05 19:41:04 -04:00
parent 7a89401f04
commit 1150a59e38

View file

@ -45,7 +45,7 @@ proc getPoolJson*(): JsonNode =
of Api.listMembers, Api.listBySlug, Api.list, Api.listTweets,
Api.userTweets, Api.userTweetsAndReplies, Api.userMedia,
Api.userRestId, Api.userScreenName,
Api.tweetDetail, Api.tweetResult, Api.search, Api.retweeters, Api.favoriters: 500
Api.tweetDetail, Api.tweetResult, Api.search, Api.favorites, Api.retweeters, Api.favoriters: 500
of Api.userSearch: 900
else: 180
reqs = maxReqs - token.apis[api].remaining