Skip to content

Commit

Permalink
Fix create-client malli schema metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
julienvincent committed Aug 20, 2024
1 parent 364c465 commit 09d285d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/k16/ok_http.clj
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@

#_{:clj-kondo/ignore [:clojure-lsp/unused-public-var]}
(defn create-client
{:malli/schema [:=> [:cat ?CreateClientProps] :any]}
{:malli/schema [:function
[:=> [:cat] :any]
[:=> [:cat ?CreateClientProps] :any]]}
^OkHttpClient
([] (create-client {}))
([{:keys [dispatcher] :as options}]
Expand Down Expand Up @@ -220,4 +222,3 @@
ok-http-callback (->Callback callbacks)]
(.enqueue call ok-http-callback)
(fn [] (.cancel call))))

0 comments on commit 09d285d

Please sign in to comment.