« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util/serialize.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/serialize.js')
-rw-r--r--src/util/serialize.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/serialize.js b/src/util/serialize.js
index 7b0f890..e30951f 100644
--- a/src/util/serialize.js
+++ b/src/util/serialize.js
@@ -33,8 +33,8 @@ export function serializeCover(thing, pathFunction, {
 
     const { artTags } = thing;
 
-    const cwTags = artTags.filter(tag => tag.isCW);
-    const linkTags = artTags.filter(tag => !tag.isCW);
+    const cwTags = artTags.filter(tag => tag.isContentWarning);
+    const linkTags = artTags.filter(tag => !tag.isContentWarning);
 
     return {
         paths: serializeImagePaths(coverPath),