aboutsummaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/feedback/feedback.model.ts2
-rw-r--r--models/votes/vote.schema.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/models/feedback/feedback.model.ts b/models/feedback/feedback.model.ts
index b2ec4b5..793f8da 100644
--- a/models/feedback/feedback.model.ts
+++ b/models/feedback/feedback.model.ts
@@ -1,4 +1,4 @@
-import { Model, model, Types } from 'mongoose';
+import { Model, model } from 'mongoose';
import { FeedbackSchema, feedbackSchema } from './feedback.schema';
export default model<FeedbackSchema, Model<FeedbackSchema>>('Feedback', feedbackSchema);
diff --git a/models/votes/vote.schema.ts b/models/votes/vote.schema.ts
index d8128b3..72b196d 100644
--- a/models/votes/vote.schema.ts
+++ b/models/votes/vote.schema.ts
@@ -1,7 +1,7 @@
import { Document, Schema, Types } from 'mongoose';
import { Vote } from 'which-types';
-export interface VoteSchema extends Document, Omit<Vote, '_id'> {};
+export interface VoteSchema extends Document, Omit<Vote, '_id'> {}
export const voteSchema = new Schema({
authorId: {