Skip to content

Commit

Permalink
FIXED
Browse files Browse the repository at this point in the history
Co-Authored-By: Iakapro <[email protected]>
Co-Authored-By: bennlol <[email protected]>
  • Loading branch information
3 people committed Oct 1, 2022
1 parent 1b1500c commit 032aac6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/models/user.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ interface UserDoc extends Mongoose.Document {

username: string
email: string
discordID: string
avatar?: string

settings: {
Expand All @@ -20,6 +21,7 @@ const UserSchema = new Mongoose.Schema({

username: { type: String, required: true, maxlength: 32, unique: true },
email: { type: String, required: true, unique: true },
discordID: { type: String, required: true, unique: true },
avatar: { type: String, required: false },

settings: {
Expand Down

0 comments on commit 032aac6

Please sign in to comment.