Makes multiple client selection somewhat possible via graphql.
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
{:charge/processor [:db/ident]} {:expected-deposit/_charges [:db/id]}]}])
|
||||
|
||||
(defn raw-graphql-ids [db args]
|
||||
(let [visible-clients (visible-clients (:id args))
|
||||
(let [visible-clients (set (map :db/id (:clients args)))
|
||||
selected-clients (->> (cond
|
||||
(:client-id args)
|
||||
(set/intersection #{(:client-id args)}
|
||||
|
||||
Reference in New Issue
Block a user