Update variable declaration

Preferable to use 'let' instead of 'var' for variable declaration
This commit is contained in:
Kalinka authored and GitHub committed 2021-12-09 19:17:58 +01:00
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,