mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-23 06:43:02 +01:00
Update variable declaration
Preferable to use 'let' instead of 'var' for variable declaration
This commit is contained in:
1 parent
1959c8ba23
commit
e2f0689c00
1 file changed
+1
-1
@@ -55,7 +55,7 @@ chrome.runtime.onMessageExternal.addListener(
|
||||
})
|
||||
.then((response) => response.text())
|
||||
.then((text) => {
|
||||
var result = getDislikesFromYoutubeResponse(text);
|
||||
let result = getDislikesFromYoutubeResponse(text);
|
||||
sendUserSubmittedStatisticsToApi({
|
||||
...result,
|
||||
videoId: request.videoId,
|
||||
|
||||
Reference in new issue
Block a user