« get me outta code hell

content: misc adaptations for who/what -> artist/annotation - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/listArtistsByLatestContribution.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-04-24 11:15:40 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-01 07:06:04 -0300
commit5105fc7b92b57bd92ce991def4ecbfd484e96df7 (patch)
tree01c3a7259b955d72426e62640186e480fff83a11 /src/content/dependencies/listArtistsByLatestContribution.js
parent1c6d49fc8beddc2608adf43bd269a2e509cfbb70 (diff)
content: misc adaptations for who/what -> artist/annotation
Diffstat (limited to 'src/content/dependencies/listArtistsByLatestContribution.js')
-rw-r--r--src/content/dependencies/listArtistsByLatestContribution.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/dependencies/listArtistsByLatestContribution.js b/src/content/dependencies/listArtistsByLatestContribution.js
index 0f70957..27a2faa 100644
--- a/src/content/dependencies/listArtistsByLatestContribution.js
+++ b/src/content/dependencies/listArtistsByLatestContribution.js
@@ -83,7 +83,8 @@ export default {
       });
     };
 
-    const getArtists = (thing, key) => thing[key].map(({who}) => who);
+    const getArtists = (thing, key) =>
+      thing[key].map(({artist}) => artist);
 
     const albumsLatestFirst = sortAlbumsTracksChronologically(sprawl.albumData.slice());
     const tracksLatestFirst = sortAlbumsTracksChronologically(sprawl.trackData.slice());