Fix typo
This commit is contained in:
parent
66f7206b47
commit
fbe98c2e66
|
@ -36,7 +36,7 @@ defmodule Frenzy.HTTP do
|
||||||
{:ok, %HTTPoison.Response{status_code: 404}} ->
|
{:ok, %HTTPoison.Response{status_code: 404}} ->
|
||||||
{:error, "404 Not Found"}
|
{:error, "404 Not Found"}
|
||||||
|
|
||||||
{:ok, %HTTPoison.Response{status_code}} ->
|
{:ok, %HTTPoison.Response{status_code: status_code}} ->
|
||||||
{:error, "HTTP #{status_code}"}
|
{:error, "HTTP #{status_code}"}
|
||||||
|
|
||||||
{:error, %HTTPoison.Error{reason: reason}} ->
|
{:error, %HTTPoison.Error{reason: reason}} ->
|
||||||
|
|
Loading…
Reference in New Issue