diff --git a/app/models/user.js b/app/models/user.js index 6e34e21..d0c0ff9 100644 --- a/app/models/user.js +++ b/app/models/user.js @@ -37,7 +37,7 @@ const UserSchema = new Schema({ passwordSalt: { type: String, required: true }, password: { type: String, required: true }, displayName: { type: String }, - bio: { type: String }, + bio: { type: String, maxlength: 300 }, picture: { large: { type: Schema.ObjectId, ref: 'Image' }, small: { type: Schema.ObjectId, ref: 'Image' },