diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-28 04:11:45 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-28 04:11:45 +0300 |
commit | bdd8b947e89400606ec1d7e1bd04f3794e942c12 (patch) | |
tree | 060c38efa99810284f47411041c45952c6817361 | |
parent | 499a1aab64a7831e25711c0ae640f3d4dfffefd3 (diff) | |
download | which-api-bdd8b947e89400606ec1d7e1bd04f3794e942c12.tar.gz |
style: fix linting errors
-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, |