diff options
Diffstat (limited to 'lib/Web/OpenWeatherMap/Types')
-rw-r--r-- | lib/Web/OpenWeatherMap/Types/Sys.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Web/OpenWeatherMap/Types/Sys.hs b/lib/Web/OpenWeatherMap/Types/Sys.hs index 03b223c..8cb932b 100644 --- a/lib/Web/OpenWeatherMap/Types/Sys.hs +++ b/lib/Web/OpenWeatherMap/Types/Sys.hs @@ -8,11 +8,10 @@ module Web.OpenWeatherMap.Types.Sys ( import GHC.Generics (Generic) import Data.Aeson (FromJSON) - + data Sys = Sys - { message :: Double - , country :: Maybe String + { country :: Maybe String , sunrise :: Int , sunset :: Int } deriving (Show, Generic, FromJSON) |