From 8e76c764e35183f88ed6e7bb9aa60fb42d72a90e Mon Sep 17 00:00:00 2001 From: Yannick Bungers Date: Sun, 12 Apr 2020 14:37:20 +0200 Subject: [PATCH] Added Types to actions.js and reformat Added Types to actions.js and reformat Signed-off-by: Yannick Bungers Signed-off-by: David Mehren --- lib/web/note/actions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/web/note/actions.ts b/lib/web/note/actions.ts index 7af9bb26b..2d6946aa8 100644 --- a/lib/web/note/actions.ts +++ b/lib/web/note/actions.ts @@ -51,6 +51,7 @@ export function getRevision (req: any, res: Response, note: Note): void { if (err) { logger.error(err) errors.errorInternalError(res) + return } if (!content) {