Browse Source

fix feed usage IIRC api update

Gregg Tavares 7 years ago
parent
commit
872d1a996c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/js/build.js

+ 1 - 1
build/js/build.js

@@ -475,7 +475,7 @@ var Builder = function(outBaseDir, options) {
       try {
       try {
         const outPath = path.join(g_outBaseDir, options.lessons, "atom.xml");
         const outPath = path.join(g_outBaseDir, options.lessons, "atom.xml");
         console.log("write:", outPath);
         console.log("write:", outPath);
-        writeFileIfChanged(outPath, feed.render('atom-1.0'));
+        writeFileIfChanged(outPath, feed.atom1());
       } catch (err) {
       } catch (err) {
         return Promise.reject(err);
         return Promise.reject(err);
       }
       }