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)))))