attempt to fix error in mongo logs

This commit is contained in:
Cassie Tarakajian 2019-05-02 19:10:14 -04:00
parent 10403a7f59
commit 765ec68ef3

View file

@ -35,7 +35,7 @@ const userSchema = new Schema({
theme: { type: String, default: 'light' }, theme: { type: String, default: 'light' },
autorefresh: { type: Boolean, default: false } autorefresh: { type: Boolean, default: false }
} }
}, { timestamps: true }); }, { timestamps: true, usePushEach: true });
/** /**
* Password hash middleware. * Password hash middleware.