blob: d4e7b02770c39f17067cb0033f8f1086ce0f5d41 (
plain)
1
2
3
4
5
6
7
8
9
|
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 });
}
};
|