Skip to content

Commit

Permalink
refactor : using String as type for DOB
Browse files Browse the repository at this point in the history
  • Loading branch information
ad956 committed Jul 3, 2024
1 parent c004efd commit 2936a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/patient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const patientSchema = new mongoose.Schema(
password: { type: String, required: true },
role: { type: String, required: true, default: "patient" },
otp: String,
dob: { type: Date, required: false },
dob: { type: String, required: false },
gender: {
type: String,
required: false,
Expand Down

0 comments on commit 2936a96

Please sign in to comment.