Skip to content

Commit

Permalink
Merge pull request #21 from vapor-community/contentfix
Browse files Browse the repository at this point in the history
Contentfix
  • Loading branch information
Andrewangeta committed Apr 8, 2018
2 parents 5f7407f + 46a02d4 commit 400914c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SendGrid/Models/SendGridEmail.swift
Expand Up @@ -13,7 +13,7 @@ public struct SendGridEmail: Content {
public var subject: String?

/// An array in which you may specify the content of your email.
public var content: [String: String]?
public var content: [[String: String]]?

/// An array of objects in which you can specify any attachments you want to include.
public var attachments: [EmailAttachment]?
Expand Down Expand Up @@ -55,7 +55,7 @@ public struct SendGridEmail: Content {
from: EmailAddress? = nil,
replyTo: EmailAddress? = nil,
subject: String? = nil,
content: [String: String]? = nil,
content: [[String: String]]? = nil,
attachments: [EmailAttachment]? = nil,
templateId: String? = nil,
sections: [String: String]? = nil,
Expand Down

0 comments on commit 400914c

Please sign in to comment.