Преглед изворни кода

:memo: Added notation on distance parameter

tabs-content
tomit4 пре 3 година
родитељ
комит
637aa90d05
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3
    0
      frontend/src/entities/survey/survey.answer.validator.js

+ 3
- 0
frontend/src/entities/survey/survey.answer.validator.js Прегледај датотеку

@@ -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…
Откажи
Сачувај