integration-tests
Josha von Gizycki 6 years ago
parent 29cbc8d0d0
commit 8bd66a8a76

@ -24,7 +24,7 @@
[lein-less "1.7.5"] [lein-less "1.7.5"]
[lein-ring "0.12.4"] [lein-ring "0.12.4"]
[lein-ancient "0.6.15"] [lein-ancient "0.6.15"]
[jonase/eastwood "0.3.1"] [jonase/eastwood "0.3.3"]
[lein-bikeshed "0.5.1"] [lein-bikeshed "0.5.1"]
[lein-cloverage "1.0.13"] [lein-cloverage "1.0.13"]
[cider/cider-nrepl "LATEST"] [cider/cider-nrepl "LATEST"]

@ -18,7 +18,8 @@
(defn new! [req] (defn new! [req]
(let [schema-uuid (get-in req [:params :schema-uuid]) (let [schema-uuid (get-in req [:params :schema-uuid])
form-def (forms-inst/with-attributes (domain-attr/required! schema-uuid))] req-attrs (domain-attr/required! schema-uuid)
form-def (forms-inst/with-attributes req-attrs)]
(if (form/valid? form-def req) (if (form/valid? form-def req)
(let [form-data (form/form-data form-def req) (let [form-data (form/form-data form-def req)
req-attrs (domain-attr/required! schema-uuid) req-attrs (domain-attr/required! schema-uuid)

Loading…
Cancel
Save