Skip to content

Commit f62c5e7

Browse files
authored
Merge pull request #7 from ShawnMcCool/main
update docs for Plug api change
2 parents d3111ab + 4f13529 commit f62c5e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ plug IdempotencyPlug,
9898

9999
def handle_error(conn, error) do
100100
conn
101-
|> put_status(Plug.Exception.Handler.status(error))
101+
|> put_status(Plug.Exception.status(error))
102102
|> json(%{error: error.message})
103103
|> halt()
104104
end

0 commit comments

Comments
 (0)