From 4be96cf548a3d07cf7ab57b53ce34696c8c48f53 Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Sun, 14 Mar 2021 04:35:52 +0530 Subject: [PATCH] remove required attr for caster/host image --- src/models/casters.js | 1 - src/models/hosts.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/models/casters.js b/src/models/casters.js index 42e659d..f47ab3f 100644 --- a/src/models/casters.js +++ b/src/models/casters.js @@ -15,7 +15,6 @@ const casters = new Schema({ }, image: { type: String, - required: true, } }); diff --git a/src/models/hosts.js b/src/models/hosts.js index 83e1d7e..19e4ead 100644 --- a/src/models/hosts.js +++ b/src/models/hosts.js @@ -15,7 +15,6 @@ const hosts = new Schema({ }, image: { type: String, - required: true, } });