diff options
Diffstat (limited to 'src/server/Model/Json')
-rw-r--r-- | src/server/Model/Json/Conf.hs (renamed from src/server/Model/Json/Config.hs) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/Model/Json/Config.hs b/src/server/Model/Json/Conf.hs index 422ecee..a66fb55 100644 --- a/src/server/Model/Json/Config.hs +++ b/src/server/Model/Json/Conf.hs @@ -1,7 +1,7 @@ {-# LANGUAGE DeriveGeneric #-} -module Model.Json.Config - ( Config(..) +module Model.Json.Conf + ( Conf(..) ) where import GHC.Generics @@ -9,9 +9,9 @@ import GHC.Generics import Data.Aeson import Data.Text -data Config = Config +data Conf = Conf { currency :: Text } deriving (Show, Generic) -instance FromJSON Config -instance ToJSON Config +instance FromJSON Conf +instance ToJSON Conf |