diff --git a/cookbook/yesod-auth-json.md b/cookbook/yesod-auth-json.md index e693e35..315eedd 100644 --- a/cookbook/yesod-auth-json.md +++ b/cookbook/yesod-auth-json.md @@ -124,9 +124,9 @@ instance YesodAuthEmail App where Part { partType = "text/plain; charset=utf-8" , partEncoding = None - , partFilename = Nothing + , partDisposition = DefaultDisposition , partContent = - Data.Text.Lazy.Encoding.encodeUtf8 + PartContent $ Data.Text.Lazy.Encoding.encodeUtf8 [stext| Please confirm your email address by clicking on the link below. @@ -140,9 +140,9 @@ instance YesodAuthEmail App where Part { partType = "text/html; charset=utf-8" , partEncoding = None - , partFilename = Nothing + , partDisposition = DefaultDisposition , partContent = - renderHtml + PartContent $ renderHtml [shamlet|
Please confirm your email address by clicking on the link below.