]> git.r.bdr.sh - rbdr/blog/blobdiff - bin/blog.js
Fix generator when there are < max posts
[rbdr/blog] / bin / blog.js
index c88a8aae14739dfdb618f92eda2cde33d710284a..5d27d4a3b84713a2f1dc8f0fcbaac6b22aa18eba 100755 (executable)
@@ -33,7 +33,7 @@ const internals = {
           }
 
           if (argument === 'publish') {
           }
 
           if (argument === 'publish') {
-            await internals.blog.update(value);
+            await internals.blog.publish(value);
             return;
           }
         }
             return;
           }
         }