Parcourir la source

:memo: Added notation on distance parameter

tabs-content
tomit4 il y a 3 ans
Parent
révision
637aa90d05
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3
    0
      frontend/src/entities/survey/survey.answer.validator.js

+ 3
- 0
frontend/src/entities/survey/survey.answer.validator.js Voir le fichier

@@ -23,6 +23,9 @@ const answerValidator = {
23 23
     pronouns: Joi.string(),
24 24
     language: Joi.string(),
25 25
     image: Joi.any(),
26
+    // TODO: specific distance units needed to be inputted within this field
27
+    // (i.e. km, mi, etc.) ... or just change the way the distance component
28
+    // works.
26 29
     distance: Joi.string(),
27 30
     blurb: Joi.string().max(200),
28 31
     value: Joi.string(),

Chargement…
Annuler
Enregistrer