From 84e202bab9ecd62fe60aee01c5381a2903a3ad41 Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Tue, 22 Oct 2019 06:16:43 -0700 Subject: [PATCH] fix. --- src/clj/auto_ap/routes/invoices.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/clj/auto_ap/routes/invoices.clj b/src/clj/auto_ap/routes/invoices.clj index da54221d..6607cd40 100644 --- a/src/clj/auto_ap/routes/invoices.clj +++ b/src/clj/auto_ap/routes/invoices.clj @@ -7,6 +7,7 @@ [auto-ap.datomic :refer [remove-nils uri]] [datomic.api :as d] [auto-ap.parse :as parse] + [auto-ap.parse.util :as parse-u] [auto-ap.graphql.utils :refer [assert-admin]] [auto-ap.routes.utils :refer [wrap-secure]] [clj-time.coerce :refer [to-date]] @@ -87,7 +88,7 @@ (defn parse-date [{:keys [raw-date]}] (try - (parse/parse-value :clj-time "MM/dd/yyyy" raw-date) + (parse-u/parse-value :clj-time "MM/dd/yyyy" raw-date) (catch Exception e (throw (Exception. (str "Could not parse date from '" raw-date "'") e)))))