From b1ab48e38a80787895897357cc1982e56db357ec Mon Sep 17 00:00:00 2001 From: luchenqun Date: Fri, 12 Oct 2018 10:58:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3body=E4=B8=8D=E8=83=BD%?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=E4=BB=A5=E5=8F=8A=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=89=8B=E6=9C=BA=E9=98=85=E8=AF=BB=E6=A8=A1=E5=BC=8F?= 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 05fc97b..cfeb21c 100644 --- a/routes/api.js +++ b/routes/api.js @@ -1435,7 +1435,7 @@ api.get('/notes', function(req, res) { } 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;