From 5d0d7afd99c3f03d5cabf5d76bf948cc1f553a7e Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Thu, 10 Feb 2022 14:08:02 -0800 Subject: [PATCH] bug fix. --- src/clj/auto_ap/graphql/invoices.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/auto_ap/graphql/invoices.clj b/src/clj/auto_ap/graphql/invoices.clj index 2d058b60..eea32edb 100644 --- a/src/clj/auto_ap/graphql/invoices.clj +++ b/src/clj/auto_ap/graphql/invoices.clj @@ -168,7 +168,7 @@ (assert-valid-expense-accounts (:expense_accounts in)) (assert-invoice-amounts-add-up in) (let [transaction-result (audit-transact [(add-invoice-transaction in)] (:id context))] - (-> (gq-checks/print-checks [{:invoice-id (get-in transaction-result [:tempids "invoice"]) + (-> (gq-checks/print-checks-internal [{:invoice-id (get-in transaction-result [:tempids "invoice"]) :amount total}] client_id bank-account-id