Fix elm-analyse issues

This commit is contained in:
Eike Kettner
2020-01-29 20:56:14 +01:00
parent bfd5bdb0c2
commit c504a3df42
33 changed files with 42 additions and 54 deletions

View File

@ -192,10 +192,10 @@ jsonResolver decoder =
Http.NetworkError_ ->
Err Http.NetworkError
Http.BadStatus_ metadata body ->
Http.BadStatus_ metadata _ ->
Err (Http.BadStatus metadata.statusCode)
Http.GoodStatus_ metadata body ->
Http.GoodStatus_ _ body ->
case D.decodeString decoder body of
Ok value ->
Ok value