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
1 changed files with 1 additions and 1 deletions

View File

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