Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Rychlewski authored and Greg Rychlewski committed Aug 6, 2024
1 parent 4870976 commit 104ca6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/postgrex/extensions/interval.ex
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ defmodule Postgrex.Extensions.Interval do
)
end

def decode_interval(_, _, _, type) do
def decode_interval(_, _, _, _, type) do
raise ArgumentError,
"#{inspect(type)} is not valid for `:interval_decode_type`. Please use either `Postgrex.Interval` or `Duration`"
end
Expand Down

0 comments on commit 104ca6d

Please sign in to comment.