diff --git a/src/clj/auto_ap/graphql/checks.clj b/src/clj/auto_ap/graphql/checks.clj index c3612b36..54579b44 100644 --- a/src/clj/auto_ap/graphql/checks.clj +++ b/src/clj/auto_ap/graphql/checks.clj @@ -572,8 +572,7 @@ (assert-admin (:id context)) (map ->graphql - (first (d-checks/get-graphql (assoc (<-graphql (assoc args :clients (:clients context))) :count Integer/MAX_VALUE))))) - + (first (d-checks/get-graphql (assoc (<-graphql (assoc (:filters args) :clients (:clients context))) :count Integer/MAX_VALUE))))) (defn print-checks [context args _] (assert-can-see-client (:id context) (:client_id args))