mirror of
https://github.com/status-im/codimd.git
synced 2025-02-02 20:54:15 +00:00
forgot break statement
Signed-off-by: Alex Garcia <alexsebastian.garcia@gmail.com>
This commit is contained in:
parent
5b789025f3
commit
fcf08f89c3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user