Remove unused function.

This commit is contained in:
Dillon Kearns 2021-04-16 09:47:25 -07:00
parent c2a6ff6be6
commit 6fca68acbb

View File

@ -7,7 +7,6 @@ module Pages.StaticHttp exposing
, map2, map3, map4, map5, map6, map7, map8, map9
, unoptimizedRequest
, Expect, expectString, expectUnoptimizedJson
, jsonFile
)
{-| StaticHttp requests are an alternative to doing Elm HTTP requests the traditional way using the `elm/http` package.
@ -462,21 +461,6 @@ get url decoder =
decoder
jsonFile : String -> Decoder a -> Request a
jsonFile filename decoder =
--"""{"stargazer_count":86}"""
request
(Secrets.succeed
-- TODO wrap in new variant
{ url = "file://" ++ filename
, method = "GET"
, headers = []
, body = emptyBody
}
)
decoder
{-| The full details to perform a StaticHttp request.
-}
type alias RequestDetails =