diff options
-rw-r--r-- | services/profiles/profiles.class.ts | 2 | ||||
-rw-r--r-- | services/users/users.hooks.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/services/profiles/profiles.class.ts b/services/profiles/profiles.class.ts index 2a3d36c..a6de474 100644 --- a/services/profiles/profiles.class.ts +++ b/services/profiles/profiles.class.ts @@ -6,7 +6,7 @@ import { Poll } from 'which-types'; export default class Profiles { app!: Application; - async get(id: string, params: Params ): Promise<Poll[]> { + async get(id: string, params: Params): Promise<Poll[]> { return this.app.service('polls').find({ ...params, query: { diff --git a/services/users/users.hooks.ts b/services/users/users.hooks.ts index 64b322a..48843be 100644 --- a/services/users/users.hooks.ts +++ b/services/users/users.hooks.ts @@ -15,7 +15,7 @@ const ignoreCaseRegex = async (context: HookContext): Promise<HookContext> => { export default { after: { all: hooks.protect('password'), - get: discard('password'), // Protect password from local get's + get: discard('password') // Protect password from local get's }, before: { find: ignoreCaseRegex, |