added ability to see existing accounts.
This commit is contained in:
@@ -30,5 +30,11 @@
|
||||
|
||||
:url (:yodlee-fastlink env)
|
||||
|
||||
}) })))
|
||||
}) }))
|
||||
(GET "/accounts" {:keys [query-params identity] :as request}
|
||||
(assert-admin identity)
|
||||
(let [[session token] (yodlee/get-access-token)]
|
||||
{:status 200
|
||||
:headers {"Content-Type" "application/edn"}
|
||||
:body (pr-str (yodlee/get-accounts)) })))
|
||||
wrap-secure))
|
||||
|
||||
Reference in New Issue
Block a user