« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/upd8.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/upd8.js b/src/upd8.js
index f60c57a..63d36b0 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -2186,8 +2186,8 @@ async function main() {
                 const to = writePage.to({baseDirectory, pageSubKey: fromPath[0], paths: fromPaths});
 
                 const target = to('localized.' + toPath[0], ...toPath.slice(1));
-                const content = generateRedirectPage(title, target, {language});
-                return writePage.write(content, {paths: fromPaths});
+                const html = generateRedirectPage(title, target, {language});
+                return writePage.write({html, paths: fromPaths});
             })
         ], queueSize));
     };