changed const to let lol

This commit is contained in:
uh wot 2021-07-19 11:37:31 +02:00
parent 7ca478fe05
commit b6933e5faa
Signed by: uhwot
GPG Key ID: CB2454984587B781
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
// @namespace io.github.uhwot.dzunlock // @namespace io.github.uhwot.dzunlock
// @description enables deezer hifi features lol // @description enables deezer hifi features lol
// @author uh wot // @author uh wot
// @version 1.2.2 // @version 1.2.3
// @license GPL-3.0-only // @license GPL-3.0-only
// @homepageURL https://git.freezer.life/uhwot/dzunlock // @homepageURL https://git.freezer.life/uhwot/dzunlock
// @downloadURL https://git.freezer.life/uhwot/dzunlock/raw/branch/master/dzunlock.user.js // @downloadURL https://git.freezer.life/uhwot/dzunlock/raw/branch/master/dzunlock.user.js
@ -186,7 +186,7 @@ fetchIntercept.register({
// Modify the response object // Modify the response object
if (response.url.startsWith('https://www.deezer.com/ajax/gw-light.php?method=deezer.getUserData')) { if (response.url.startsWith('https://www.deezer.com/ajax/gw-light.php?method=deezer.getUserData')) {
const json = await response.json() let json = await response.json()
// removes upgrade popup stuff // removes upgrade popup stuff
json.results.USER.ENTRYPOINTS = {} json.results.USER.ENTRYPOINTS = {}