Skip to content

Commit

Permalink
Pass correct arity of params to ws/upgrade-websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandergunnarson authored and sunng87 committed Nov 20, 2024
1 parent 64fc100 commit 43b512a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ring/adapter/jetty9/handlers/async.clj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
(fn [response-map]
(let [response-map (common/normalize-response response-map)]
(if (common/websocket-upgrade-response? response-map)
(ws/upgrade-websocket request response callback response-map)
(ws/upgrade-websocket request response callback response-map options)
(common/update-response request response response-map)))
(.succeeded callback))
(fn [^Throwable exception]
Expand Down

0 comments on commit 43b512a

Please sign in to comment.