Hozifa Elgharbawy commited on
Commit
bd555c1
·
1 Parent(s): 0a5775b

workout_frequency

Browse files
Files changed (1) hide show
  1. src/common/models/user.model.ts +1 -2
src/common/models/user.model.ts CHANGED
@@ -57,12 +57,11 @@ const userSchema = new Schema({
57
  required: true,
58
  },
59
  target_weight: { type: Number, required: true },
60
- workout_frequency: { type: Number, required: true },
61
  preferred_days: [
62
  {
63
  type: String,
64
  enum: PreferredDay,
65
- required: true,
66
  },
67
  ],
68
  workout_place: {
 
57
  required: true,
58
  },
59
  target_weight: { type: Number, required: true },
60
+ workout_frequency: { type: Number },
61
  preferred_days: [
62
  {
63
  type: String,
64
  enum: PreferredDay,
 
65
  },
66
  ],
67
  workout_place: {