From 2a6f02b5a946745e59f897ec73b21b8a27b69be9 Mon Sep 17 00:00:00 2001 From: Bryce Date: Fri, 9 Feb 2024 08:56:20 -0800 Subject: [PATCH] fixed bug in check export. --- 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 83b54d78..2333de7e 100644 --- a/src/clj/auto_ap/routes/exports.clj +++ b/src/clj/auto_ap/routes/exports.clj @@ -126,7 +126,7 @@ [:vendor [:name :id [:primary-contact [:name :email :phone]] [:default-account [:name :numeric-code :id]] [:address [:street1 :city :state :zip]]]] [:client [:id :name :code]] ]]] - payments (graphql/query identity (venia/graphql-query {:venia/queries (->graphql query)}) {:clients [:client/code (query-params "client-code")]})] + payments (graphql/query identity (venia/graphql-query {:venia/queries (->graphql query)}) {:clients [ [:client/code (query-params "client-code")]]})] {:body (list (:all-payments (:data payments)))})))