Browse Source

:pencil2: Removed tests from answersSchema

tags/0.0.3^2
tomit4 3 years ago
parent
commit
84e5eafdae
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      frontend/src/entities/survey/survey.answer.schema.js

+ 0
- 4
frontend/src/entities/survey/survey.answer.schema.js View File

@@ -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) {

Loading…
Cancel
Save