Skip to content

Commit

Permalink
'blacklisted' option is now required
Browse files Browse the repository at this point in the history
  • Loading branch information
Tegnio committed Jun 4, 2021
1 parent ef4c798 commit 5f5b933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/User.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { model, Schema } = require("mongoose");
const userSchema = new Schema({
user_id: { type: String, required: true },
guild_id: { type: String, required: true },
blacklisted: { type: Boolean, default: false },
blacklisted: { type: Boolean, default: false, required: true },
});

module.exports = model("User", userSchema);

0 comments on commit 5f5b933

Please sign in to comment.