From 2c4d8f9dedfa633c716e84e48cf95099b4e32644 Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Wed, 25 Jul 2018 14:13:39 -0700 Subject: [PATCH] fix. --- 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 4c251ed8..994b8834 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-id (query-params "company") + (let [transactions (transactions/get-graphql {:company-id (Integer/parseInt (query-params "company")) :limit Integer/MAX_VALUE})] (map (fn [i] (-> i