fixing kicking.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user