|
@@ -55,7 +55,7 @@ chrome.runtime.onMessageExternal.addListener(
|
|
})
|
|
})
|
|
.then((response) => response.text())
|
|
.then((response) => response.text())
|
|
.then((text) => {
|
|
.then((text) => {
|
|
- var result = getDislikesFromYoutubeResponse(text);
|
|
|
|
|
|
+ let result = getDislikesFromYoutubeResponse(text);
|
|
sendUserSubmittedStatisticsToApi({
|
|
sendUserSubmittedStatisticsToApi({
|
|
...result,
|
|
...result,
|
|
videoId: request.videoId,
|
|
videoId: request.videoId,
|