Vendors form progress

This commit is contained in:
2023-11-02 23:40:24 -07:00
parent 99e4f05769
commit eef1cfb919
16 changed files with 846 additions and 425 deletions

View File

@@ -19,7 +19,7 @@
:refer [apply-middleware-to-all-handlers
html-response
wrap-form-4xx-2
wrap-schema-decode]]
wrap-schema-enforce]]
[auto-ap.utils :refer [by]]
[bidi.bidi :as bidi]
[clj-time.coerce :as coerce]
@@ -311,7 +311,7 @@
(->>
{::route/page page
::route/import (-> import
(wrap-schema-decode :form-schema [:map [:tsv :string]])
(wrap-schema-enforce :form-schema [:map [:tsv :string]])
(wrap-nested-form-params)
(wrap-form-4xx-2 form))
})