Commit 505806ba by Tuukka Kivilahti

sähköpostiviivakoodi oli vähän (tai paljon) kakka

1 parent 618c744f
...@@ -136,7 +136,7 @@ public class TicketBean implements TicketBeanLocal { ...@@ -136,7 +136,7 @@ public class TicketBean implements TicketBeanLocal {
// ByteArrayOutputStream codeStream = QRCode.from(formatUrl).to(ImageType.PNG).withCharset("UTF-8").withSize(250, 250).stream(); // ByteArrayOutputStream codeStream = QRCode.from(formatUrl).to(ImageType.PNG).withCharset("UTF-8").withSize(250, 250).stream();
MailMessageAttachment attachment = new MailMessageAttachment("eticket.pdf", getTicketPdf(user, formatUrl), "application/pdf"); MailMessageAttachment attachment = new MailMessageAttachment("eticket.pdf", getTicketPdf(user, token), "application/pdf");
msg.addAttachment(attachment); msg.addAttachment(attachment);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!