« get me outta code hell

use right artist name in alias redirect title - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-03-12 19:27:38 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-03-12 19:27:38 -0400
commite8d048b093021630b71b38095b1375d464a93571 (patch)
treefdfd37137ee5dcf4bc23140df6ddcc2c6862473b
parent0435fea96e94194032bfb20b0489ccd9df688d11 (diff)
use right artist name in alias redirect title
-rw-r--r--src/page/artist-alias.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/page/artist-alias.js b/src/page/artist-alias.js
index c7b0feb6..ac23e902 100644
--- a/src/page/artist-alias.js
+++ b/src/page/artist-alias.js
@@ -14,7 +14,7 @@ export function write(aliasArtist, {wikiData}) {
         type: 'redirect',
         fromPath: ['artist', aliasArtist.directory],
         toPath: ['artist', aliasedArtist.directory],
-        title: () => aliasArtist.name
+        title: () => aliasedArtist.name
     };
 
     return [redirect];