From 2a4e1ff734533a026ebf4122c31355e2dffba1b2 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 12 Jun 2020 20:08:58 +0300 Subject: style: fix some eslint errors --- services/profiles/profiles.class.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'services/profiles/profiles.class.ts') 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 { return PollModel.find({ authorId: id }).lean(); } -}; +} -- cgit v1.2.3 From 7e4ebee9a0e56546d6dce76c5c48d6d13371c689 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 12 Jun 2020 20:20:33 +0300 Subject: style: fix all eslint errors --- services/profiles/profiles.class.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'services/profiles/profiles.class.ts') diff --git a/services/profiles/profiles.class.ts b/services/profiles/profiles.class.ts index c896789..52d6b47 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 { PollSchema } from '../../models/polls/poll.schema'; import PollModel from '../../models/polls/poll.model'; export default class Profiles { - async get(id: string, params: any): Promise { - return PollModel.find({ authorId: id }).lean(); + async get(id: string): Promise { + return PollModel.find({ authorId: id }).lean(); } } -- cgit v1.2.3