From fd03f269c0e9498e58fe7a381794ab84991b054e Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 10 Jun 2020 18:42:33 +0300 Subject: refactor: rename interfaces --- models/polls/poll.model.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'models/polls/poll.model.ts') 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", PollSchema); +export default model>("Poll", pollSchema); -- cgit v1.2.3