chore: Prettified Code

[ci skip]
This commit is contained in:
coredev-uk 2022-09-14 00:02:13 +00:00 committed by cider-chore[bot]
parent 2a5494bc73
commit a4973407e4

View file

@ -781,7 +781,6 @@ const app = new Vue({
// Restore mk
// load cached library
let librarySongs = await CiderCache.getCache("library-songs");
let libraryAlbums = await CiderCache.getCache("library-albums");
@ -3009,7 +3008,8 @@ const app = new Vue({
return;
}
try {
app.mk.api.v3.music(`/v1/editorial/${app.mk.storefrontId}/groupings`, {
app.mk.api.v3
.music(`/v1/editorial/${app.mk.storefrontId}/groupings`, {
platform: "web",
name: "radio",
"omit[resource:artists]": "relationships",
@ -3020,10 +3020,11 @@ const app = new Vue({
"fields[artists]": "name,url,artwork,editorialArtwork,genreNames,editorialNotes",
"art[url]": "f",
l: app.mklang,
}).then((radio) => {
})
.then((radio) => {
app.radio = radio.data.data[0];
console.debug(app.radio);
})
});
this.radio.timestamp = Date.now();
} catch (e) {