adds storefront id

This commit is contained in:
booploops 2022-01-13 02:10:35 -08:00
parent 9a0b608b50
commit 0072aa2ba6

View file

@ -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`