changed const to let lol
This commit is contained in:
parent
7ca478fe05
commit
b6933e5faa
|
@ -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 = {}
|
||||||
|
|
Loading…
Reference in New Issue