Skip to content

Commit

Permalink
Fix typo in exception message
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 28, 2024
1 parent d339626 commit 0007b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix/endpoint/supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ defmodule Phoenix.Endpoint.Supervisor do

if check_origin == false and check_csrf == false do
raise ArgumentError,
"One of :check_origin and :check_csrf must be set to non-false value for " <>
"one of :check_origin and :check_csrf must be set to non-false value for " <>
"transport #{inspect(transport)}"
end
end
Expand Down

0 comments on commit 0007b6c

Please sign in to comment.