From 98bd4f60b6e453dcb194553d882559b4edfe4761 Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Sun, 14 Mar 2021 04:57:44 +0530 Subject: [PATCH] model issue --- src/models/matches.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/matches.js b/src/models/matches.js index 3474059..1a4a5d2 100644 --- a/src/models/matches.js +++ b/src/models/matches.js @@ -41,11 +41,11 @@ const matches = new Schema({ series: { orange: { type: Number, - required: true, + default: 0, }, blue: { type: Number, - required: true, + default: 0, }, }, games: {