aboutsummaryrefslogtreecommitdiffstats
path: root/model.js
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-07-10 06:50:56 +0000
committerterminaldweller <thabogre@gmail.com>2022-07-10 06:50:56 +0000
commit9e66dac558cf2f73c6f040a1a7df4e7bf67e302d (patch)
tree057d7b662dd7ad7e9108dc232b4a2b7619f4c4d6 /model.js
parentMerge branch 'rss' (diff)
downloadblog-9e66dac558cf2f73c6f040a1a7df4e7bf67e302d.tar.gz
blog-9e66dac558cf2f73c6f040a1a7df4e7bf67e302d.zip
updated the readme
Diffstat (limited to 'model.js')
-rw-r--r--model.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/model.js b/model.js
index dde3913..207b62b 100644
--- a/model.js
+++ b/model.js
@@ -38,6 +38,7 @@ function dbInit() {
});
}
+// only used for testing, otherwise unused
function populateDB(model) {
let filePaths = fs.readdirSync(path.join(__dirname, "mds"));
filePaths.forEach((fileName) => {