Skip to content

Commit 83cc0f7

Browse files
committed
update function arity in deprecation warning
1 parent 144c4be commit 83cc0f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/finch.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ defmodule Finch do
287287
end
288288

289289
def request(name, method, url, headers, body \\ nil, opts \\ []) do
290-
IO.warn("Finch.request/6 is deprecated, use Finch.build/4 + Finch.request/3 instead")
290+
IO.warn("Finch.request/6 is deprecated, use Finch.build/5 + Finch.request/3 instead")
291291

292292
build(method, url, headers, body)
293293
|> request(name, opts)

0 commit comments

Comments
 (0)