diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-03-19 16:26:55 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-03-19 16:26:55 -0300 |
commit | 41c22a553d43fbcc04b7a17ec6f83583ed7f3443 (patch) | |
tree | 88f8c25b84a586c31529ea95f96e51d2f6d78553 /src/content/dependencies/generateAlbumSocialEmbed.js | |
parent | 7411fe87dc667b25f265f5388b790c5d4bbc880d (diff) |
data step: content function updates, relation syntax 2
* new: generateAlbumTrackListItem * new: generateContributionLinks
Diffstat (limited to 'src/content/dependencies/generateAlbumSocialEmbed.js')
-rw-r--r-- | src/content/dependencies/generateAlbumSocialEmbed.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/content/dependencies/generateAlbumSocialEmbed.js b/src/content/dependencies/generateAlbumSocialEmbed.js index b5c5ef66..87d8eed2 100644 --- a/src/content/dependencies/generateAlbumSocialEmbed.js +++ b/src/content/dependencies/generateAlbumSocialEmbed.js @@ -11,13 +11,11 @@ export default { 'urls', ], - relations(album) { + relations(relation, album) { const relations = {}; - relations.description = { - dependency: 'generateAlbumSocialEmbedDescription', - args: [album], - }; + relations.description = + relation('generateAlbumSocialEmbedDescription', album); return relations; }, |