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) {