A resend library for the Gleam programming language

fix: subject same as from in send_email

Changed files
+2 -2
src
gleesend
test
+1 -1
src/gleesend/emails.gleam
··· 80 80 [ 81 81 #("from", json.string(email.from)), 82 82 #("to", json.array(email.to, fn(a) { json.string(a) })), 83 - #("subject", json.string(email.string)), 83 + #("subject", json.string(email.subject)), 84 84 ], 85 85 case email.bcc { 86 86 Some(bcc) -> [#("bcc", json.array(bcc, fn(a) { json.string(a) }))]
+1 -1
test/gleesend_test.gleam
··· 9 9 10 10 pub fn gleesend_test() { 11 11 let client = 12 - resend.Resend(api_key: "// Replace this with your resend api key") 12 + gleesend.Resend(api_key: "// Replace this with your resend api key") 13 13 14 14 create_email( 15 15 client:,