From b5b9799ada88b4f668101157e20f65a88fe50a28 Mon Sep 17 00:00:00 2001 From: luchenqun Date: Thu, 11 Oct 2018 22:16:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=88=86=E4=BA=AB=E5=A4=87?= =?UTF-8?q?=E5=BF=98style?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.js b/routes/api.js index f7e6df1..60fc2be 100644 --- a/routes/api.js +++ b/routes/api.js @@ -1435,7 +1435,7 @@ api.get('/notes', function(req, res) { var params = req.query; if (params.shareNote) { db.getNote(params.shareNote) - .then((data) => res.send(`
${data}
`)) + .then((data) => res.send(`
${data}
`)) .catch((err) => console.log('notes', err)); } else { params.user_id = req.session.user.id;