model issue

main
Ayush Mukherjee 4 years ago
parent c6d1a74988
commit b53b50f831

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

Loading…
Cancel
Save