Skip to content

Commit 11e3621

Browse files
authored
cognitive level converted to array
1 parent 5e3b501 commit 11e3621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/practical.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ const practicalSchema = {
55
type: { type: String, required: true },
66
title: { type: String, required: true },
77
hours: { type: Number, required: true },
8-
cognitiveLevels: {
8+
cognitiveLevels: [{
99
type: String,
1010
required: true,
1111
enum: ["L1", "L2", "L3", "L4", "L5", "L6"],
12-
},
12+
}],
1313
};
1414

1515
const Practical = connector.model("Practical", practicalSchema);

0 commit comments

Comments
 (0)