« get me outta code hell

content: composer's release -> artist's release - 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:
author(quasar) nebula <qznebula@protonmail.com>2026-05-01 18:51:22 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-05-01 18:51:22 -0300
commitddbbf9da0c144cddd82f1c15dfb0de0d30637e85 (patch)
treed1ce91db3c463aa7276c22e70d53eb429a398105 /src/content/dependencies
parent43f08c7810fb814896059aa41c77178f7317e80e (diff)
content: composer's release -> artist's release HEAD staging release
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateReleaseInfoListenLine.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/dependencies/generateReleaseInfoListenLine.js b/src/content/dependencies/generateReleaseInfoListenLine.js
index f2a6dd29..d07aad19 100644
--- a/src/content/dependencies/generateReleaseInfoListenLine.js
+++ b/src/content/dependencies/generateReleaseInfoListenLine.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 null;