added stuff to readme

This commit is contained in:
nerf van nerfingen 2022-11-14 12:25:00 +01:00
parent cbc22ea207
commit 85344c0867
2 changed files with 3 additions and 2 deletions

View file

@ -16,7 +16,7 @@ data Config = Config {
} deriving Show
configCodec :: TomlCodec Config
configCodec = table "mail" $ Config
configCodec = flip Toml.table "mail" $ Config
<$> Toml.string "domain" .= mailDomain
<*> Toml.string "user" .= mailUsername
<*> Toml.string "password" .= mailPassword