Explorar el Código

:memo: Added notation on distance parameter

tabs-content
tomit4 hace 3 años
padre
commit
637aa90d05
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      frontend/src/entities/survey/survey.answer.validator.js

+ 3
- 0
frontend/src/entities/survey/survey.answer.validator.js Ver fichero

@@ -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(),

Loading…
Cancelar
Guardar