|
|
@ -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' }, |
|
|
|