Skip to content

Commit

Permalink
fix: return response-map in sync request
Browse files Browse the repository at this point in the history
  • Loading branch information
armed committed Jun 6, 2024
1 parent 616b292 commit e64c6c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/k16/ok_http.clj
Original file line number Diff line number Diff line change
Expand Up @@ -206,5 +206,6 @@
^Call call (.newCall client' request)]
(if-let [ok-http-callback (->Callback callbacks)]
(.enqueue call ok-http-callback)
(.execute call)))))
(-> (.execute call)
(ok-http.response/Response->map))))))

0 comments on commit e64c6c8

Please sign in to comment.