1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-24 04:57:02 +00:00

go.enmime API now uses HTML instead of Html

This commit is contained in:
James Hillyerd
2016-02-26 20:35:28 -08:00
parent 3eb2b5ce19
commit 5daa40b081
4 changed files with 6 additions and 6 deletions

View File

@@ -115,7 +115,7 @@ func MailboxShowV1(w http.ResponseWriter, req *http.Request, ctx *httpd.Context)
Header: header.Header,
Body: &JSONMessageBodyV1{
Text: mime.Text,
HTML: mime.Html,
HTML: mime.HTML,
},
})
}

View File

@@ -36,7 +36,7 @@ func (d *InputMessageData) MockMessage() *MockMessage {
msg.On("ReadHeader").Return(gomsg, nil)
body := &enmime.MIMEBody{
Text: d.Text,
Html: d.HTML,
HTML: d.HTML,
}
msg.On("ReadBody").Return(body, nil)
return msg