Skip to content

Commit

Permalink
Use IO.iodata_to_binary
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Feb 10, 2024
1 parent f41466c commit f93d84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/req/steps.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,7 @@ defmodule Req.Steps do
to_string(request.method),
to_string(request.url),
headers,
request.body || ""
IO.iodata_to_binary(request.body || "")
)

Req.update(request, headers: headers)
Expand Down

0 comments on commit f93d84b

Please sign in to comment.