From 4e7a16f1cd9b778a1c1e1984b4f3f60b462bcd64 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 18 Jan 2024 21:39:50 -0500 Subject: updates for the blog entries --- put_in_db.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'put_in_db.js') diff --git a/put_in_db.js b/put_in_db.js index fadcc42..eb91672 100644 --- a/put_in_db.js +++ b/put_in_db.js @@ -26,7 +26,7 @@ blogs = [ title: "One Chat Client For Everything", slug: "one_chat_client_for_everything", body: fs.readFileSync( - path.join(__dirname) + "/mds/oneclientforeverything.md" + path.join(__dirname) + "/mds/oneclientforeverything.md", ), teaser: "One Chat Client For Everything", keywords: "irc,matrix,mattermost,matterbridge,bitlbee,irssi", @@ -34,10 +34,10 @@ blogs = [ }, ]; -// db.blogposts.insertMany([blog_entry_1, blog_entry_2, blog_entry_3]); +// db.blogposts.insertMany(blogs); db.blogposts.updateMany( { $set: blogs }, { upsert: true, - } + }, ); -- cgit v1.2.3