diff options
author | Joris Guyonvarch | 2015-07-19 18:50:49 +0200 |
---|---|---|
committer | Joris Guyonvarch | 2015-07-19 18:50:49 +0200 |
commit | f687b15d4d3f55fb231cd03b773b163ed131b129 (patch) | |
tree | d2a45041640c8620b64e92001b8dfe9fce011247 /src/server/Model | |
parent | 331d506281760ac62e8f1715ef729e1b2a91e280 (diff) |
Send the login token by email
Diffstat (limited to 'src/server/Model')
-rw-r--r-- | src/server/Model/Message.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/Model/Message.hs b/src/server/Model/Message.hs index 6b4287e..d84aaa9 100644 --- a/src/server/Model/Message.hs +++ b/src/server/Model/Message.hs @@ -5,10 +5,11 @@ module Model.Message ) where import Data.Aeson +import Data.Text (Text) import GHC.Generics data Message = Message - { message :: String + { message :: Text } deriving (Show, Generic) instance FromJSON Message |