Procházet zdrojové kódy

:pencil2: Removed tests from answersSchema

tabs-content
tomit4 před 3 roky
rodič
revize
c75ba299d6

+ 0
- 4
frontend/src/entities/survey/survey.answer.schema.js Zobrazit soubor

@@ -21,10 +21,6 @@ const answersSchema = {
21 21
         image: Joi.any(),
22 22
         distance: Joi.string(),
23 23
         blurb: Joi.string(),
24
-        // TO ADD: add Joi validator for all new survey steps
25
-        test: Joi.string(),
26
-        // TO ADD DROP DOWN: add Joi validator for all new survey with drop down steps
27
-        testOptions: Joi.string(),
28 24
         aspects: Joi.array().items(Joi.number().allow(null))
29 25
     }),
30 26
     validate(instance) {

Načítá se…
Zrušit
Uložit