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