diff --git a/src/models/userProfile.js b/src/models/userProfile.js index 9f820cb9b..5e63205cb 100644 --- a/src/models/userProfile.js +++ b/src/models/userProfile.js @@ -41,8 +41,11 @@ const userProfileSchema = new Schema({ index: true, }, lastName: { - type: String, required: true, minlength: 2, index: true, -}, + type: String, + required: true, + minlength: 2, + index: true, + }, phoneNumber: [{ type: String, phoneNumber: String }], jobTitle: [{ type: String, jobTitle: String }], bio: { type: String }, @@ -204,7 +207,7 @@ const userProfileSchema = new Schema({ ], weeklySummaryNotReq: { type: Boolean, default: false }, timeZone: { type: String, required: true, default: 'America/Los_Angeles' }, - isVisible: { type: Boolean, default: false }, + isVisible: { type: Boolean, default: true }, weeklySummaryOption: { type: String }, bioPosted: { type: String, default: 'default' }, isFirstTimelog: { type: Boolean, default: true },