Skip to content

Commit

Permalink
Set the connect_option default options to []
Browse files Browse the repository at this point in the history
Co-authored-by: José Valim <[email protected]>
  • Loading branch information
tanguilp and josevalim authored Oct 24, 2024
1 parent f5b45bf commit f9a8f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix/socket/transport.ex
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ defmodule Phoenix.Socket.Transport do
The CSRF check can be disabled with the `:check_csrf` option.
"""
def connect_info(conn, endpoint, keys, opts \\ [check_csrf: true]) do
def connect_info(conn, endpoint, keys, opts \\ []) do
for key <- keys, into: %{} do
case key do
:peer_data ->
Expand Down

0 comments on commit f9a8f29

Please sign in to comment.