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 ce3f0d6d..c5affd05 100644
--- a/lib/web/note/util.js
+++ b/lib/web/note/util.js
@@ -19,7 +19,7 @@ exports.findNote = function (req, res, callback, include) {
include: include || null
}).then(function (note) {
if (!note) {
- return exports.newNote(req, res, null)
+ return exports.newNote(req, res, '')
}
if (!exports.checkViewPermission(req, note)) {
return errors.errorForbidden(res)