From bdd8b947e89400606ec1d7e1bd04f3794e942c12 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 28 Jun 2020 04:11:45 +0300 Subject: style: fix linting errors --- services/profiles/profiles.class.ts | 2 +- 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 { + async get(id: string, params: Params): Promise { 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 => { 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, -- cgit v1.2.3