mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-29 22:14:26 +02:00
api/twitter: change const to let for media
This commit is contained in:
parent
9579c3dd08
commit
39b6bb2593
@ -219,7 +219,7 @@ export default async function({ id, index, toGif, dispatcher, alwaysProxy }) {
|
||||
|
||||
tweet = await tweet.json();
|
||||
|
||||
const media =
|
||||
let media =
|
||||
syndication
|
||||
? tweet.mediaDetails
|
||||
: await extractGraphqlMedia(tweet, dispatcher, id, guestToken, cookie);
|
||||
|
Loading…
x
Reference in New Issue
Block a user