summaryrefslogtreecommitdiff
path: root/lib/web/note
diff options
context:
space:
mode:
Diffstat (limited to 'lib/web/note')
-rw-r--r--lib/web/note/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/web/note/util.js b/lib/web/note/util.js
index 128c89cf..f1af1300 100644
--- a/lib/web/note/util.js
+++ b/lib/web/note/util.js
@@ -81,7 +81,7 @@ exports.getPublishData = function (req, res, note, callback) {
const data = {
title: title,
description: meta.description || (markdown ? models.Note.generateDescription(markdown) : null),
- lang: meta.lang || null
+ lang: meta.lang || null,
viewcount: note.viewcount,
createtime: createtime,
updatetime: updatetime,