aboutsummaryrefslogtreecommitdiff
path: root/src/server/Model/Json
diff options
context:
space:
mode:
authorJoris2016-03-20 22:38:44 +0100
committerJoris2016-03-21 20:43:55 +0100
commit1c7d6ea6e3bcd3c672cb5eb3cf22ffc88cabb257 (patch)
tree4ff8aeb6aa0f159548f8f506374276c1a2c97f7d /src/server/Model/Json
parent47104f0b3965cd1dfba0f466afdb5e8983dc7bec (diff)
use config-manager instead of ConfigFile
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