aboutsummaryrefslogtreecommitdiff
path: root/hooks/isAuthenticated.ts
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-28 01:35:23 +0300
committereug-vs <eug-vs@keemail.me>2020-06-28 01:35:23 +0300
commit2d293c075f25aac17005ba97cdb76db7554088e1 (patch)
tree80f15bc7d5bb286090da27c64b2df1bcb87f03f5 /hooks/isAuthenticated.ts
parent2886e64b2d793723d5e8df90725cca1491ba8d6e (diff)
downloadwhich-api-2d293c075f25aac17005ba97cdb76db7554088e1.tar.gz
fix: remove console.log
Diffstat (limited to 'hooks/isAuthenticated.ts')
-rw-r--r--hooks/isAuthenticated.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/hooks/isAuthenticated.ts b/hooks/isAuthenticated.ts
index 50290c8..077fbec 100644
--- a/hooks/isAuthenticated.ts
+++ b/hooks/isAuthenticated.ts
@@ -1,7 +1,6 @@
import { HookContext } from '@feathersjs/feathers';
export default async (context: HookContext): Promise<boolean> => {
- console.log(context.params.authenticated);
return context.params.authenticated || false;
};