From fcdb04683d63587da3dcc24d5598e08071b2c6bd Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Sat, 3 Apr 2021 11:14:49 +0530 Subject: [PATCH] change back hosts to casters in streams model --- 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 2fbf63b..afd6dc2 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: 'Hosts', + ref: 'Casters', }], })