fixes
This commit is contained in:
@@ -56,6 +56,10 @@
|
||||
{:status 200
|
||||
:body (pr-str (invoices/get-pending (query-params "company")))
|
||||
:headers {"Content-Type" "application/edn"}})
|
||||
(wrap-json-response (GET "/api/export" {:keys [query-params]}
|
||||
(println query-params)
|
||||
(doto (invoices/get-unpaid (query-params "company"))
|
||||
println)))
|
||||
(POST "/pdf-upload"
|
||||
{{ files "file"} :params :as params}
|
||||
(let [{:keys [filename tempfile]} files
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
(ns auto-ap.db)
|
||||
|
||||
(def default-db
|
||||
{:company {:name "Campbell brewery"}
|
||||
{:company {:name "Campbell Brewing Company"}
|
||||
:companies [{:name "Campbell Brewing Company"
|
||||
:matches ["campbell brewing company" "campbell brewery company" "campbell brewing"]}
|
||||
{:name "Brown Chicken Brown Cow"
|
||||
|
||||
Reference in New Issue
Block a user