Fix missing newlines in actions.ts

Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
David Mehren 2020-04-12 17:40:34 +02:00
parent df94e0a64f
commit 038db39c0e
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB

View file

@ -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