diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-12 20:08:58 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-12 20:08:58 +0300 |
commit | 2a4e1ff734533a026ebf4122c31355e2dffba1b2 (patch) | |
tree | e74bb1610373c4984ca9df11f9161b0abbd7f443 /services/profiles | |
parent | 755889e7c1c74b0bd7677fc513d04473689eaf57 (diff) | |
download | which-api-2a4e1ff734533a026ebf4122c31355e2dffba1b2.tar.gz |
style: fix some eslint errors
Diffstat (limited to 'services/profiles')
-rw-r--r-- | services/profiles/profiles.class.ts | 4 | ||||
-rw-r--r-- | services/profiles/profiles.hooks.ts | 4 | ||||
-rw-r--r-- | services/profiles/profiles.service.ts | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/services/profiles/profiles.class.ts b/services/profiles/profiles.class.ts index 8954f74..c896789 100644 --- a/services/profiles/profiles.class.ts +++ b/services/profiles/profiles.class.ts @@ -1,9 +1,9 @@ -import { Poll, PollSchema } from "../../models/polls/poll.schema"; +import { Poll, PollSchema } from '../../models/polls/poll.schema'; import PollModel from '../../models/polls/poll.model'; export default class Profiles { async get(id: string, params: any): Promise<PollSchema[]> { return PollModel.find({ authorId: id }).lean<Poll>(); } -}; +} diff --git a/services/profiles/profiles.hooks.ts b/services/profiles/profiles.hooks.ts index b022aff..bb05d94 100644 --- a/services/profiles/profiles.hooks.ts +++ b/services/profiles/profiles.hooks.ts @@ -1,10 +1,10 @@ import { - expandAuthorManyHook, + expandAuthorManyHook } from '../../hooks/expandAuthor'; export default { after: { - get: [expandAuthorManyHook], + get: [expandAuthorManyHook] } }; diff --git a/services/profiles/profiles.service.ts b/services/profiles/profiles.service.ts index 3422352..e860426 100644 --- a/services/profiles/profiles.service.ts +++ b/services/profiles/profiles.service.ts @@ -1,4 +1,4 @@ -import { Application } from "@feathersjs/express"; +import { Application } from '@feathersjs/express'; import Profiles from './profiles.class'; import hooks from './profiles.hooks'; |