Browse Source

cap bio at 300 chars

pull/1/head
Rob Colbert 3 years ago
parent
commit
a69aec203f
  1. 2
      app/models/user.js

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

Loading…
Cancel
Save