« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/album.js4
-rw-r--r--src/data/things/track.js4
2 files changed, 4 insertions, 4 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},
diff --git a/src/data/things/track.js b/src/data/things/track.js
index d86c7635..5c3161aa 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -11,11 +11,11 @@ import {isBoolean, isColor, isContributionList, isDate, isFileExtension}
 import {
   parseAdditionalFiles,
   parseAdditionalNames,
+  parseAnnotatedReferences,
   parseContributors,
   parseDate,
   parseDimensions,
   parseDuration,
-  parseReferencedArtworks,
 } from '#yaml';
 
 import {withPropertyFromObject} from '#composite/data';
@@ -526,7 +526,7 @@ export class Track extends Thing {
 
       'Referenced Artworks': {
         property: 'referencedArtworks',
-        transform: parseReferencedArtworks,
+        transform: parseAnnotatedReferences,
       },
 
       'Franchises': {ignore: true},