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