Skip to content

Commit

Permalink
fixed schema definition error in activity blueprint
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitst05 committed Nov 2, 2023
1 parent 61f8ac6 commit 2ef73e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/activityBlueprint.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const activityBluePrintSchema = {
`${props.value} is not a valid year format starting with "2"!`,
},
},
type: { enum: ["ODD", "EVEN"], required: true },
type: { type: String, enum: ["ODD", "EVEN"], required: true },
startDate: { type: Date, required: true },
endDate: { type: Date, required: true },
};
Expand Down

0 comments on commit 2ef73e0

Please sign in to comment.