diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-28 16:18:20 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-28 16:18:20 +0300 |
commit | 02b0da08155c6615a48b8d7f49648c19c1600020 (patch) | |
tree | 5916962aacc99214780cc9c9ede7a0b0df160d1b /models | |
parent | 302a76985cef867f509a4180387cc45e934452d5 (diff) | |
download | which-api-02b0da08155c6615a48b8d7f49648c19c1600020.tar.gz |
feat: create feedback service
Diffstat (limited to 'models')
-rw-r--r-- | models/feedback/feedback.schema.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/feedback/feedback.schema.ts b/models/feedback/feedback.schema.ts index a0844d6..ea6f6e7 100644 --- a/models/feedback/feedback.schema.ts +++ b/models/feedback/feedback.schema.ts @@ -8,7 +8,7 @@ export interface FeedbackSchema extends Document { createdAt: Date; } -export const FeedbackSchema = new Schema({ +export const feedbackSchema = new Schema({ contents: String, authorId: { type: Types.ObjectId, |