Skip to content

Commit cefb230

Browse files
committed
improve: rename variables for clarity in TwitterSource class
1 parent e31c049 commit cefb230

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sources/twitter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default class TwitterSource {
7979
tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled: true
8080
}
8181

82-
const { body, statusCode } = await this._callGraphQL('2ICDjqPd81tulZcYrtpTuQ/TweetResultByRestId', {
82+
const { body, statusCode: _statusCode } = await this._callGraphQL('2ICDjqPd81tulZcYrtpTuQ/TweetResultByRestId', {
8383
tweetId: id,
8484
withCommunity: false,
8585
includePromotedContent: false,
@@ -191,7 +191,7 @@ export default class TwitterSource {
191191
if (cached) return cached
192192
}
193193

194-
const videoId = track.identifier
194+
const _videoId = track.identifier
195195
if (track.pluginInfo?.directUrl) {
196196
return {
197197
url: track.pluginInfo.directUrl,

0 commit comments

Comments
 (0)