🐛 Fix unhandled error on tokens modal (#8165)

This commit is contained in:
Eva Marco
2026-01-23 09:35:53 +01:00
committed by GitHub
parent 2574ad3315
commit e53f335204
8 changed files with 54 additions and 48 deletions

View File

@@ -124,8 +124,6 @@
(throw (IllegalArgumentException. "invalid email body provided")))
(doseq [[name content] attachments]
(prn "attachment" name)
(let [attachment-part (MimeBodyPart.)]
(.setFileName attachment-part ^String name)
(.setContent attachment-part ^String content (str "text/plain; charset=" charset))