diff options
Diffstat (limited to 'models/polls/poll.model.ts')
-rw-r--r-- | models/polls/poll.model.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/polls/poll.model.ts b/models/polls/poll.model.ts index 211d1e6..be1f604 100644 --- a/models/polls/poll.model.ts +++ b/models/polls/poll.model.ts @@ -1,5 +1,5 @@ import { Model, model } from "mongoose" -import { Poll, PollSchema } from './poll.schema'; +import { PollSchema, pollSchema } from './poll.schema'; -export default model<Poll, Model<Poll>>("Poll", PollSchema); +export default model<PollSchema, Model<PollSchema>>("Poll", pollSchema); |