Fix typo on schema

This commit is contained in:
Mateus Etto
2019-05-15 13:50:57 +09:00
parent 90532b0763
commit f3f215abea
+1 -1
View File
@@ -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)