mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 01:35:18 -04: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)
|
res.send(content)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
errors.errorNotFound(res)return
|
errors.errorNotFound(res)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Revision.getNoteRevisions(note, function (err, data) {
|
Revision.getNoteRevisions(note, function (err, data) {
|
||||||
if (err) {
|
if (err) {
|
||||||
logger.error(err)
|
logger.error(err)
|
||||||
errors.errorInternalError(res)return
|
errors.errorInternalError(res)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
const out = {
|
const out = {
|
||||||
revision: data
|
revision: data
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue