update for newer ghc+yesod

master
Astro 3 years ago
parent d11a7aeba7
commit 9d7a9f2b2a

@ -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
}]]
}

@ -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, (.!=),
(.:?))

Loading…
Cancel
Save