Quellcode durchsuchen

:pencil2: Removed tests from answersSchema

tags/0.0.3^2
tomit4 vor 3 Jahren
Ursprung
Commit
84e5eafdae
1 geänderte Dateien mit 0 neuen und 4 gelöschten Zeilen
  1. 0
    4
      frontend/src/entities/survey/survey.answer.schema.js

+ 0
- 4
frontend/src/entities/survey/survey.answer.schema.js Datei anzeigen

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

Laden…
Abbrechen
Speichern