aboutsummaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-28 18:56:14 +0300
committereug-vs <eug-vs@keemail.me>2020-06-28 18:56:14 +0300
commit00387d9ad38049db555cad7b5cb375167a108a6e (patch)
treefba5273a22bd7a19e797e42e8c803843960e81bf /models
parentc3438eb4a7187773e2736dea765bb8281f7edf0e (diff)
downloadwhich-api-00387d9ad38049db555cad7b5cb375167a108a6e.tar.gz
style: fix linting errors
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: {