From fcf08f89c3fe5f7708db7748e209a13b30c1e121 Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Sat, 27 Oct 2018 17:54:01 -0700 Subject: [PATCH] forgot break statement Signed-off-by: Alex Garcia --- lib/response.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/response.js b/lib/response.js index 3e38fe686..a400d021b 100644 --- a/lib/response.js +++ b/lib/response.js @@ -470,6 +470,7 @@ function publishNoteActions (req, res, next) { switch (action) { case 'download': actionDownload(req, res, note) + break case 'edit': res.redirect(config.serverURL + '/' + (note.alias ? note.alias : models.Note.encodeNoteId(note.id))) break