fixing kicking.

This commit is contained in:
BC
2018-10-25 21:11:38 -07:00
parent 8c1826f022
commit 690228ee94

View File

@@ -66,15 +66,13 @@
(if (= (:id a) id)
(assoc a :status state)
a))
as)))
}))
as)))}))
(re-frame/reg-event-fx
::kick
(fn [{:keys [db]} [_ id]]
{:db (assoc-in db [::yodlee] {:accounts-loading? true})
:http {:token (:user db)
{:http {:token (:user db)
:method :post
:headers {"Content-Type" "application/edn"}
:uri (str "/api/yodlee/accounts/" id)