Skip to content

Commit

Permalink
fix(compat): Fix Adobe compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
elpete committed Feb 6, 2018
1 parent 74e00da commit 8010118
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/protocols/SendGridProtocol.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ component extends="cbmailservices.models.AbstractProtocol" {
body[ "personalizations" ] = [ personalization ];

cfhttp( url = "https://api.sendgrid.com/v3/mail/send", method = "POST" ) {
cfhttpparam( type = "header", name = "Authorization" value="Bearer #getProperty( "apiKey" )#" );
cfhttpparam( type = "header", name = "Content-Type" value="application/json" );
cfhttpparam( type = "header", name = "Authorization", value="Bearer #getProperty( "apiKey" )#" );
cfhttpparam( type = "header", name = "Content-Type", value="application/json" );
cfhttpparam( type = "body", value = serializeJson( body ) );
};

Expand Down

0 comments on commit 8010118

Please sign in to comment.