api/twitter: change const to let for media

This commit is contained in:
wukko 2025-03-11 14:01:34 +06:00
parent 9579c3dd08
commit 39b6bb2593
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -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);