diff options
Diffstat (limited to 'services/profiles/profiles.class.ts')
-rw-r--r-- | services/profiles/profiles.class.ts | 4 |
1 files changed, 2 insertions, 2 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>(); } -}; +} |