change back hosts to casters in streams model

main
Ayush Mukherjee 4 years ago
parent 7f6460ade3
commit fcdb04683d

@ -19,7 +19,7 @@ const streams = new Schema({
}], }],
hosts: [{ hosts: [{
type: Schema.Types.ObjectId, type: Schema.Types.ObjectId,
ref: 'Hosts', ref: 'Casters',
}], }],
}) })

Loading…
Cancel
Save