From 0a6a6be1b43635c60e76669ac2a7ee8581d9b183 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 27 Jun 2020 16:40:07 +0300 Subject: style: fix linting errors --- hooks/requireAuth.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hooks/requireAuth.ts') diff --git a/hooks/requireAuth.ts b/hooks/requireAuth.ts index ac46e22..ba08f57 100644 --- a/hooks/requireAuth.ts +++ b/hooks/requireAuth.ts @@ -4,6 +4,8 @@ import isAuthenticated from './isAuthenticated'; export default iff( isNot(isAuthenticated), - () => { throw new NotAuthenticated('This endpoint requires auth!') } + () => { + throw new NotAuthenticated('This endpoint requires auth!'); + } ); -- cgit v1.2.3