From 52d3b33bef28602a350b8e537ed1403bd02ce73f Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Fri, 2 Apr 2021 21:17:09 +0530 Subject: [PATCH] change back hosts to hosts for stream --- 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 afd6dc2..2fbf63b 100644 --- a/src/models/streams.js +++ b/src/models/streams.js @@ -19,7 +19,7 @@ const streams = new Schema({ }], hosts: [{ type: Schema.Types.ObjectId, - ref: 'Casters', + ref: 'Hosts', }], })