model issue

main
Ayush Mukherjee 4 years ago
parent 8d604819fc
commit c6d1a74988

@ -14,12 +14,12 @@ const gameScores = new Schema({
const matches = new Schema({ const matches = new Schema({
orange: { orange: {
type: Schema.Types.ObjectId, type: Schema.Types.ObjectId,
refs: 'Rosters', ref: 'Rosters',
required: true, required: true,
}, },
blue: { blue: {
type: Schema.Types.ObjectId, type: Schema.Types.ObjectId,
refs: 'Rosters', ref: 'Rosters',
required: true, required: true,
}, },
started: { started: {

Loading…
Cancel
Save