Skip to content

Commit

Permalink
api/twitter: fix return in extractGraphqlMedia
Browse files Browse the repository at this point in the history
  • Loading branch information
wukko committed Mar 11, 2025
1 parent 69421a1 commit 9579c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/processing/services/twitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const extractGraphqlMedia = async (tweet, dispatcher, id, guestToken, cookie) =>
repostedTweet = baseTweet?.retweeted_status_result?.result.tweet.legacy.extended_entities;
}

media = (repostedTweet?.media || baseTweet?.extended_entities?.media);
return (repostedTweet?.media || baseTweet?.extended_entities?.media);
}

const testResponse = (result) => {
Expand Down

0 comments on commit 9579c3d

Please sign in to comment.