can set up multiple locations
This commit is contained in:
@@ -19,7 +19,9 @@
|
||||
(-> x
|
||||
(assoc-in [:data :bank-accounts] (:bank-accounts x))
|
||||
(assoc-in [:data :address] (:address x))
|
||||
(assoc-in [:data :locations] (:locations x))
|
||||
(dissoc :bank-accounts)
|
||||
(dissoc :locations)
|
||||
(dissoc :address)))
|
||||
|
||||
(defn get-all []
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
{:fields {:id {:type 'Int}
|
||||
:name {:type 'String}
|
||||
:email {:type 'String}
|
||||
:locations {:type '(list String)}
|
||||
:bank_accounts {:type '(list :bank_account)}}}
|
||||
|
||||
:bank_account
|
||||
|
||||
Reference in New Issue
Block a user