update for newer ghc+yesod

This commit is contained in:
Astro 2020-06-05 18:28:46 +02:00
parent d11a7aeba7
commit 9d7a9f2b2a
2 changed files with 2 additions and 3 deletions

View file

@ -217,9 +217,8 @@ sendMail to subject body =
, mailParts =[[Part
{ partType = "text/plain; charset=utf-8"
, partEncoding = None
, partFilename = Nothing
, partHeaders = []
, partContent = E.encodeUtf8 body
, partContent = PartContent $ E.encodeUtf8 body
}]]
}

View file

@ -20,7 +20,7 @@
-- declared in the Foundation.hs file.
module Settings where
import ClassyPrelude.Yesod hiding (throw)
import ClassyPrelude.Yesod
import Control.Exception (throw)
import Data.Aeson (Result (..), fromJSON, withObject, (.!=),
(.:?))