From 1234b9ba940d689789a02876219a408de400a44f Mon Sep 17 00:00:00 2001 From: PrivacyDev Date: Mon, 5 Jun 2023 19:41:04 -0400 Subject: [PATCH] added missing Api.favorites to getPoolJson --- src/tokens.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tokens.nim b/src/tokens.nim index 6ef81f5..d128cc1 100644 --- a/src/tokens.nim +++ b/src/tokens.nim @@ -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: 500 + Api.tweetDetail, Api.tweetResult, Api.search, Api.favorites: 500 of Api.userSearch: 900 reqs = maxReqs - token.apis[api].remaining