From 0a66c8d87d17459c83da3fcff08f8579bca399e6 Mon Sep 17 00:00:00 2001 From: Mav-Ivan <110425368+Mav-Ivan@users.noreply.github.com> Date: Wed, 13 Sep 2023 19:17:34 +0300 Subject: [PATCH] test2 commit --- models/quiz.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/models/quiz.js b/models/quiz.js index a9eb276c..1e0bc265 100644 --- a/models/quiz.js +++ b/models/quiz.js @@ -8,7 +8,8 @@ let quizSchema = new Schema( type: String, required: [true, FIELD_CANNOT_BE_EMPTY('title')], minLength: [1, FIELD_CANNOT_BE_SHORTER('title', 1)], - maxLength: [100, FIELD_CANNOT_BE_LONGER('title', 100)] + maxLength: [100, FIELD_CANNOT_BE_LONGER('title', 100)], + stupid: String }, items: [ {