mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-01 07:13:04 +00:00
Fix missing newlines in actions.ts
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
df94e0a64f
commit
038db39c0e
1 changed files with 4 additions and 2 deletions
|
@ -66,13 +66,15 @@ export function getRevision (req: any, res: Response, note: Note): void {
|
|||
res.send(content)
|
||||
})
|
||||
} else {
|
||||
errors.errorNotFound(res)return
|
||||
errors.errorNotFound(res)
|
||||
return
|
||||
}
|
||||
} else {
|
||||
Revision.getNoteRevisions(note, function (err, data) {
|
||||
if (err) {
|
||||
logger.error(err)
|
||||
errors.errorInternalError(res)return
|
||||
errors.errorInternalError(res)
|
||||
return
|
||||
}
|
||||
const out = {
|
||||
revision: data
|
||||
|
|
Loading…
Reference in a new issue