added missing Api.favorites to getPoolJson

This commit is contained in:
PrivacyDev 2023-06-05 19:41:04 -04:00
parent 00deddb438
commit 1234b9ba94

View file

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