Skip to content

Commit

Permalink
style: auto format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 4, 2024
1 parent 75d8152 commit 32bc952
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
21 changes: 10 additions & 11 deletions lib/routes/twitter/api/web-api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,16 @@ const getUserMedia = (id: string, params?: Record<string, any>) =>
const getUserLikes = (id: string, params?: Record<string, any>) =>
cacheTryGet(id, params, async (id, params = {}) =>
gatherLegacyFromData(
await paginationTweets(
'Likes',
id,
{
...params,
includeHasBirdwatchNotes: false,
includePromotedContent: false,
withBirdwatchNotes: false,
withVoice: false,
withV2Timeline: true,
})));
await paginationTweets('Likes', id, {
...params,
includeHasBirdwatchNotes: false,
includePromotedContent: false,
withBirdwatchNotes: false,
withVoice: false,
withV2Timeline: true,
})
)
);

const getUserTweet = (id: string, params?: Record<string, any>) =>
cacheTryGet(id, params, async (id, params = {}) =>
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/twitter/api/web-api/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const gqlFeatures = {
ListLatestTweetsTimeline: gqlFeatureFeed,
HomeTimeline: gqlFeatureFeed,
TweetDetail: TweetDetailFeatures,
Likes: gqlFeatureFeed
Likes: gqlFeatureFeed,
};

const timelineParams = {
Expand Down

0 comments on commit 32bc952

Please sign in to comment.