Quellcode durchsuchen

:memo: Added notation on distance parameter

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

+ 3
- 0
frontend/src/entities/survey/survey.answer.validator.js Datei anzeigen

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

Laden…
Abbrechen
Speichern