Use MonadIO
This commit is contained in:
parent
a31e397005
commit
587a4e499a
1 changed files with 2 additions and 2 deletions
|
@ -202,9 +202,9 @@ der Matemat
|
|||
else
|
||||
return () -- do nothing
|
||||
|
||||
sendMail :: Text -> Text -> TL.Text -> IO ()
|
||||
sendMail :: MonadIO m => Text -> Text -> TL.Text -> m ()
|
||||
sendMail to subject body =
|
||||
renderSendMail
|
||||
liftIO $ renderSendMail
|
||||
Mail
|
||||
{ mailFrom = Address Nothing "noreply"
|
||||
, mailTo = [Address Nothing to]
|
||||
|
|
Loading…
Reference in a new issue