attempt to fix error in mongo logs
This commit is contained in:
parent
10403a7f59
commit
765ec68ef3
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue