Skip to content

Commit 0c4f37c

Browse files
committed
fix bug
1 parent 4ee95ff commit 0c4f37c

File tree

4 files changed

+303
-168
lines changed

4 files changed

+303
-168
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const mongoose = require("mongoose");
22

3-
const key = mongoose.Schema(
3+
const key = mongoose.Schema({}, { strict: false, versionKey: false })/*
44
{
55
key: { type: String, required: true },
66
value: { type: mongoose.Schema.Types.Mixed, required: true },
@@ -9,6 +9,6 @@ const key = mongoose.Schema(
99
//group: { type: String, required: true }
1010
},
1111
{ versionKey: false }
12-
);
12+
);*/
1313

1414
module.exports = mongoose.model("entries", key);

0 commit comments

Comments
 (0)