Fixes checks permissions

This commit is contained in:
2022-07-05 16:58:00 -07:00
parent be58bcd4a3
commit 06f0d9d9dd
2 changed files with 3 additions and 2 deletions

View File

@@ -412,10 +412,10 @@
nil)}))
(defn get-payment-page [context args _]
(let [args (assoc args :id (:id context))
[payments checks-count] (d-checks/get-graphql (-> args
(let [[payments checks-count] (d-checks/get-graphql (-> args
:filters
(<-graphql)
(assoc :id (:id context))
(update :payment-type enum->keyword "payment-type")
(update :status enum->keyword "payment-status")))]