mirror of
https://github.com/status-im/codimd.git
synced 2025-02-02 20:33:32 +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) {
|
switch (action) {
|
||||||
case 'download':
|
case 'download':
|
||||||
actionDownload(req, res, note)
|
actionDownload(req, res, note)
|
||||||
|
break
|
||||||
case 'edit':
|
case 'edit':
|
||||||
res.redirect(config.serverURL + '/' + (note.alias ? note.alias : models.Note.encodeNoteId(note.id)))
|
res.redirect(config.serverURL + '/' + (note.alias ? note.alias : models.Note.encodeNoteId(note.id)))
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user