diff --git a/src/models/streams.js b/src/models/streams.js index 5f7b87d..5a64d58 100644 --- a/src/models/streams.js +++ b/src/models/streams.js @@ -19,7 +19,7 @@ const streams = new Schema({ }, hosts: { type: [Schema.Types.ObjectId], - refs: 'Hosts', + ref: 'Hosts', }, })