From 038db39c0e382495af9a20bc769d9b21e71eec98 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sun, 12 Apr 2020 17:40:34 +0200 Subject: [PATCH] Fix missing newlines in actions.ts Signed-off-by: David Mehren --- lib/web/note/actions.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/web/note/actions.ts b/lib/web/note/actions.ts index 6a97e0d3f..f66eff111 100644 --- a/lib/web/note/actions.ts +++ b/lib/web/note/actions.ts @@ -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