We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab46d32 commit 764dcd9Copy full SHA for 764dcd9
server/Models/card.js
@@ -16,7 +16,7 @@ const cardSchema = new mongoose.Schema ({
16
},
17
// deck -> options numbers or strings ... REQUIRED
18
deck: {
19
- type: String,
+ type: Number,
20
required: true
21
}
22
});
0 commit comments