Skip to content

Commit

Permalink
change order
Browse files Browse the repository at this point in the history
  • Loading branch information
dkuku committed Nov 27, 2024
1 parent b729f43 commit f2fb1b9
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 @@ -101,7 +101,7 @@ defmodule CurlReq.Macro do

defp add_body(req, options) do
body =
[:data, :data_raw, :data_ascii]
[:data, :data_ascii, :data_raw]
|> Enum.reduce([], fn key, acc ->
case Keyword.get_values(options, key) do
[] -> acc
Expand Down

0 comments on commit f2fb1b9

Please sign in to comment.