File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/SendGridKit/Models Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public struct SendGridEmail: Encodable {
1313 public var subject : String ?
1414
1515 /// An array in which you may specify the content of your email.
16- public var content : [ [ String : String ] ]
16+ public var content : [ [ String : String ] ] ?
1717
1818 /// An array of objects in which you can specify any attachments you want to include.
1919 public var attachments : [ EmailAttachment ] ?
@@ -55,7 +55,7 @@ public struct SendGridEmail: Encodable {
5555 from: EmailAddress ? = nil ,
5656 replyTo: EmailAddress ? = nil ,
5757 subject: String ? = nil ,
58- content: [ [ String : String ] ] ,
58+ content: [ [ String : String ] ] ? = nil ,
5959 attachments: [ EmailAttachment ] ? = nil ,
6060 templateId: String ? = nil ,
6161 sections: [ String : String ] ? = nil ,
You can’t perform that action at this time.
0 commit comments