diff --git a/backend/src/app/http/client.clj b/backend/src/app/http/client.clj index 542de4d18..f7bb86093 100644 --- a/backend/src/app/http/client.clj +++ b/backend/src/app/http/client.clj @@ -43,9 +43,9 @@ (defn req! "A convencience toplevel function for gradual migration to a new API convention." - ([{:keys [::client] :as holder} request] - (us/assert! ::client-holder holder) + ([{:keys [::client]} request] + (us/assert! ::client client) (send! client request {})) - ([{:keys [::client] :as holder} request options] - (us/assert! ::client-holder holder) + ([{:keys [::client]} request options] + (us/assert! ::client client) (send! client request options)))