Skip to content

Commit

Permalink
Remove redundant brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
elszczepano committed Oct 2, 2018
1 parent ba05dde commit 62cf8ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/User.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ const userSchema = mongoose.Schema({
timestamps: true
});

userSchema.plugin(passportLocalMongoose(), {usernameField: 'email'});
userSchema.plugin(passportLocalMongoose, { usernameField: 'email' });

const User = module.exports = mongoose.model('User', userSchema, 'users');

0 comments on commit 62cf8ed

Please sign in to comment.