model issue

main
Ayush Mukherjee 4 years ago
parent 8d604819fc
commit c6d1a74988

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

Loading…
Cancel
Save