mirror of
https://github.com/wukko/cobalt.git
synced 2025-03-27 03:34:47 +01:00
api/twitter: change const to let for media
This commit is contained in:
parent
9579c3dd08
commit
39b6bb2593
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ export default async function({ id, index, toGif, dispatcher, alwaysProxy }) {
|
||||||
|
|
||||||
tweet = await tweet.json();
|
tweet = await tweet.json();
|
||||||
|
|
||||||
const media =
|
let media =
|
||||||
syndication
|
syndication
|
||||||
? tweet.mediaDetails
|
? tweet.mediaDetails
|
||||||
: await extractGraphqlMedia(tweet, dispatcher, id, guestToken, cookie);
|
: await extractGraphqlMedia(tweet, dispatcher, id, guestToken, cookie);
|
||||||
|
|
Loading…
Add table
Reference in a new issue