chore: test population fix

main
Ayush Mukherjee 1 year ago
parent 971c21cdee
commit c021b9ebe8

@ -5,7 +5,11 @@ const events = new mongoose.Schema({
type: String, type: String,
required: true, required: true,
unique: true, unique: true,
} },
streams: [{
type: mongoose.Schema.Types.ObjectId,
ref: 'Streams',
}]
}); });
const Event = mongoose.model('Event', events) const Event = mongoose.model('Event', events)

Loading…
Cancel
Save