fix dumb error resulting from not thinking things through

integration-tests
Josha von Gizycki 6 years ago
parent dda41eb8c5
commit fd4d311fd2

@ -35,7 +35,7 @@
(spec/explain-data spec-key field-value))))) (spec/explain-data spec-key field-value)))))
(defn field-valid? [value spec-key req] (defn field-valid? [value spec-key req]
(or (empty? (:params req)) (or (empty? (:form-params req))
(spec/valid? spec-key value))) (spec/valid? spec-key value)))
(defn field (defn field

Loading…
Cancel
Save