aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-06-28 04:13:13 +0300
committerGitHub <noreply@github.com>2020-06-28 04:13:13 +0300
commit8baf96be5ea7880cebe3aeda733b9196950be434 (patch)
tree060c38efa99810284f47411041c45952c6817361 /hooks
parent990edc953d734b1f1621fc0f5161c1eb978a3ea0 (diff)
parentbdd8b947e89400606ec1d7e1bd04f3794e942c12 (diff)
downloadwhich-api-8baf96be5ea7880cebe3aeda733b9196950be434.tar.gz
Merge pull request #15 from which-ecosystem/search
Allow searching users
Diffstat (limited to 'hooks')
-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;
};