« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateListenLineOrList.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/dependencies/generateListenLineOrList.js b/src/content/dependencies/generateListenLineOrList.js
index f0d8dae9..68f48d5e 100644
--- a/src/content/dependencies/generateListenLineOrList.js
+++ b/src/content/dependencies/generateListenLineOrList.js
@@ -5,7 +5,7 @@ function getReleaseContext(urlString, {
   _artistURLs,
   albumArtistURLs,
 }) {
-  const composerBandcampDomains =
+  const artistBandcampDomains =
     albumArtistURLs
       .filter(url => url.hostname.endsWith('.bandcamp.com'))
       .map(url => url.hostname);
@@ -16,8 +16,8 @@ function getReleaseContext(urlString, {
     return ['officialRelease'];
   }
 
-  if (composerBandcampDomains.includes(url.hostname)) {
-    return ['composerRelease'];
+  if (artistBandcampDomains.includes(url.hostname)) {
+    return ['artistRelease'];
   }
 
   return [];