« get me outta code hell

data: withResolvedArtworkReferenceList -> ...Annotated - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/album.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-11-16 13:51:25 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-11-17 13:40:00 -0400
commitd28e04697429b607c38042ac09418adfceb06baf (patch)
tree4e6d422c065ab0925d9547865061b380db247276 /src/data/things/album.js
parent65ff74446f22976613caf352d42253c8c17e172d (diff)
data: withResolvedArtworkReferenceList -> ...Annotated
Diffstat (limited to 'src/data/things/album.js')
-rw-r--r--src/data/things/album.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js
index 6bfec68c..b6bd1313 100644
--- a/src/data/things/album.js
+++ b/src/data/things/album.js
@@ -16,10 +16,10 @@ import {isColor, isDate, isDirectory, validateWikiData} from '#validators';
 import {
   parseAdditionalFiles,
   parseAdditionalNames,
+  parseAnnotatedReferences,
   parseContributors,
   parseDate,
   parseDimensions,
-  parseReferencedArtworks,
 } from '#yaml';
 
 import {exitWithoutDependency, exposeDependency, exposeUpdateValueOrContinue}
@@ -414,7 +414,7 @@ export class Album extends Thing {
 
       'Referenced Artworks': {
         property: 'referencedArtworks',
-        transform: parseReferencedArtworks,
+        transform: parseAnnotatedReferences,
       },
 
       'Franchises': {ignore: true},