Fix typo on schema
This commit is contained in:
@@ -7,7 +7,7 @@ const defaultSchema = () => ({
|
||||
id: String,
|
||||
timestamp: Date,
|
||||
text: String,
|
||||
info: {type: mongoose.Schema.Types.Mixed},
|
||||
info: {$type: mongoose.Schema.Types.Mixed},
|
||||
|
||||
// sender properties
|
||||
user: String, // profile name (unfortunately)
|
||||
|
||||
Reference in New Issue
Block a user