mirror of
https://github.com/imputnet/cobalt.git
synced 2026-10-25 11:36:55 +00:00
api/twitter: fix return in extractGraphqlMedia
This commit is contained in:
parent
69421a11ad
commit
9579c3dd08
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue