Fix compile errors in example

This commit is contained in:
Dénes Harmath 2015-04-10 09:44:27 +02:00
parent 2384439e1a
commit 3a6b2465fe

View file

@ -10,11 +10,11 @@ of the underlying functionality.
```elm
import Http
import Json.Decoder as Json exposing ((:=))
import Json.Decode as Json exposing ((:=))
import Task exposing (..)
lookupZipCode : String -> Promise Http.Error (List String)
lookupZipCode : String -> Task Http.Error (List String)
lookupZipCode query =
Http.get places ("http://api.zippopotam.us/us/" ++ query)