Skip to content

Commit 2ef73e0

Browse files
committed
fixed schema definition error in activity blueprint
1 parent 61f8ac6 commit 2ef73e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/activityBlueprint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const activityBluePrintSchema = {
1111
`${props.value} is not a valid year format starting with "2"!`,
1212
},
1313
},
14-
type: { enum: ["ODD", "EVEN"], required: true },
14+
type: { type: String, enum: ["ODD", "EVEN"], required: true },
1515
startDate: { type: Date, required: true },
1616
endDate: { type: Date, required: true },
1717
};

0 commit comments

Comments
 (0)