api/twitter: change const to let for media
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user