From aaabab8cb98810d1ff78503dda795e3821e0e03f Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Wed, 25 Jul 2018 14:06:58 -0700 Subject: [PATCH] switching to company id for proper filtering. --- src/clj/auto_ap/routes/exports.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/auto_ap/routes/exports.clj b/src/clj/auto_ap/routes/exports.clj index 942f7603..4c251ed8 100644 --- a/src/clj/auto_ap/routes/exports.clj +++ b/src/clj/auto_ap/routes/exports.clj @@ -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