Skip to content

Commit

Permalink
Update mock.cr
Browse files Browse the repository at this point in the history
Updated mock.cr for Crystal 0.31.1 per Crystal API breaking change crystal-lang/crystal#7085

sorry for 2 PRs. I don't know how to combine 2 edits on github...
  • Loading branch information
vectorselector authored Nov 1, 2019
1 parent d6c5391 commit 3d448be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mailer/mock.cr
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module Mailer
attachments = message.attachments
inline = message.inline
io = IO::Memory.new
m = HTTP::Multipart::Builder.new(io)
m = MIME::Multipart::Builder.new(io)
m.content_type("form-data")
add m, "from", message.from
add m, "to", to
Expand Down

0 comments on commit 3d448be

Please sign in to comment.