switching to company id for proper filtering.

This commit is contained in:
Bryce Covert
2018-07-25 14:06:58 -07:00
parent aacd660199
commit aaabab8cb9

View File

@@ -56,7 +56,7 @@
(vendors/get-all))
(GET "/transactions/export" {:keys [query-params identity]}
(assert-admin identity)
(let [transactions (transactions/get-graphql {:company (query-params "company")
(let [transactions (transactions/get-graphql {:company-id (query-params "company")
:limit Integer/MAX_VALUE})]
(map (fn [i]
(-> i