From b53b50f83174c85ade04a0761f37629ce3dc5b99 Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Sun, 14 Mar 2021 05:37:09 +0530 Subject: [PATCH] model issue --- src/models/streams.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', }, })