mirror of
https://github.com/edgurgel/httparrot
synced 2025-04-05 08:12:31 -04:00
small tweak for normalize_list fn
This commit is contained in:
parent
d5d41bff49
commit
dbc1fc42c4
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ defmodule HTTParrot.PHandler do
|
|||
end
|
||||
end
|
||||
|
||||
defp normalize_list(list) when list == [], do: [{}]
|
||||
defp normalize_list([]), do: [{}]
|
||||
|
||||
defp normalize_list(list), do: list
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue