Skip to content

Commit

Permalink
sorry ebert!
Browse files Browse the repository at this point in the history
  • Loading branch information
novaugust committed Nov 29, 2018
1 parent ff65844 commit d979631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spandex_phoenix.ex
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ defmodule SpandexPhoenix do
defp replace_path_param_with_name(inverted_params, path_component) do
decoded_component = URI.decode(path_component)

Enum.find_value(inverted_params, fn
Enum.find_value(inverted_params, fn
{^decoded_component, param_name} -> ":#{param_name}"
_ -> nil
end, decoded_component)
Expand Down

0 comments on commit d979631

Please sign in to comment.