Browse Source

:memo: Added notation on distance parameter

tabs-content
tomit4 3 years ago
parent
commit
637aa90d05
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      frontend/src/entities/survey/survey.answer.validator.js

+ 3
- 0
frontend/src/entities/survey/survey.answer.validator.js View File

23
     pronouns: Joi.string(),
23
     pronouns: Joi.string(),
24
     language: Joi.string(),
24
     language: Joi.string(),
25
     image: Joi.any(),
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
     distance: Joi.string(),
29
     distance: Joi.string(),
27
     blurb: Joi.string().max(200),
30
     blurb: Joi.string().max(200),
28
     value: Joi.string(),
31
     value: Joi.string(),

Loading…
Cancel
Save