Skip to content

Commit

Permalink
handle $ in all types
Browse files Browse the repository at this point in the history
  • Loading branch information
dkuku committed Nov 27, 2024
1 parent 85eb768 commit b729f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/curl_req/macro.ex
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ defmodule CurlReq.Macro do
|> Enum.reduce([], fn key, acc ->
case Keyword.get_values(options, key) do
[] -> acc
["$" <> data] when key == :data_raw -> acc ++ [data]
["$" <> data] -> acc ++ [data]
values -> acc ++ values
end
end)
Expand Down

0 comments on commit b729f43

Please sign in to comment.