Fixed issue with paying negative invoices.

This commit is contained in:
Bryce Covert
2019-03-20 21:23:25 -07:00
parent f6aa4d66e8
commit d833a85581
2 changed files with 14 additions and 2 deletions

View File

@@ -10,7 +10,6 @@
[clojure.walk :as walk]
[venia.core :as v]
[auto-ap.history :as p]
[auto-ap.events :as events]
[pushy.core :as pushy]))
(re-frame/reg-fx
@@ -158,7 +157,7 @@
"&variables=" (pr-str (or variables {})))}))]
(cond
(= (:status response) 401)
(re-frame/dispatch [::events/logout "Your session has expired. Please log in again."])
(re-frame/dispatch [:auto-ap.events/logout "Your session has expired. Please log in again."])