adds storefront id
This commit is contained in:
parent
9a0b608b50
commit
0072aa2ba6
1 changed files with 2 additions and 2 deletions
|
@ -331,10 +331,10 @@
|
||||||
let route = ""
|
let route = ""
|
||||||
switch(this.data.type) {
|
switch(this.data.type) {
|
||||||
case 'albums':
|
case 'albums':
|
||||||
route = `/v1/catalog/us/albums/${this.data.id}`
|
route = `/v1/catalog/${app.mk.storefrontId}/albums/${this.data.id}`
|
||||||
break;
|
break;
|
||||||
case 'playlists':
|
case 'playlists':
|
||||||
route = `/v1/catalog/us/playlists/${this.data.id}`
|
route = `/v1/catalog/${app.mk.storefrontId}/playlists/${this.data.id}`
|
||||||
break;
|
break;
|
||||||
case "library-playlists":
|
case "library-playlists":
|
||||||
route = `/v1/me/library/playlists/${this.data.id}/catalog`
|
route = `/v1/me/library/playlists/${this.data.id}/catalog`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue