Added Types to actions.js and reformat

Added Types to actions.js and reformat

Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
Yannick Bungers 2020-04-12 14:37:20 +02:00 committed by David Mehren
parent 536c54ff0d
commit 8e76c764e3
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB

View file

@ -51,6 +51,7 @@ export function getRevision (req: any, res: Response, note: Note): void {
if (err) { if (err) {
logger.error(err) logger.error(err)
errors.errorInternalError(res) errors.errorInternalError(res)
return return
} }
if (!content) { if (!content) {