Adds the ability to import invoices from email.

This commit is contained in:
2022-04-07 21:43:19 -07:00
parent 7139da4141
commit 8870c400bf
3 changed files with 72 additions and 1 deletions

View File

@@ -14,6 +14,7 @@
[auto-ap.ledger :as ledger]
[auto-ap.square.core :as square]
[auto-ap.background.metrics :as metrics]
[auto-ap.background.mail :as mail]
[clojure.tools.logging :as log]
[config.core :refer [env]]
[mount.core :as mount]
@@ -90,6 +91,7 @@
(not (env :run-background?)) (into [#'square/square-loader
#'vendor/refresh-vendor-usages-worker
#'ledger/touch-broken-ledger-worker
#'mail/import-invoices
#'ledger/process-txes-worker
#'ledger/ledger-reconciliation-worker
#'requests/request-listener