mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-30 06:24:25 +02:00
api/twitter: fix return in extractGraphqlMedia
This commit is contained in:
parent
69421a11ad
commit
9579c3dd08
@ -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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user