Fix typo on schema

This commit is contained in:
Mateus Etto 2019-05-15 13:50:57 +09:00
parent 90532b0763
commit f3f215abea
No known key found for this signature in database
GPG key ID: 27CC5D96018F217E

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)