From fc713bcbb320ff692cac6332f5aa587dc817305c Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 6 Jul 2022 15:54:39 +0430 Subject: WIP, we now have to fix the pug template which is not working --- model.js | 1 + 1 file changed, 1 insertion(+) (limited to 'model.js') diff --git a/model.js b/model.js index 5df1270..dde3913 100644 --- a/model.js +++ b/model.js @@ -54,6 +54,7 @@ function populateDB(model) { newBlogPost.save(); }); } + module.exports = { blogPost: mongoose.model("BlogPost", BlogPostSchema), dbInit: dbInit, -- cgit v1.2.3