Skip to content
This repository has been archived by the owner on Apr 5, 2020. It is now read-only.

Commit

Permalink
Use async HTTP request
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed Jun 5, 2016
1 parent 896df54 commit f7ff695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EmailHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function sendEmail($email, $name, $subject, $html, $author)
'subject' => $subject,
);

$this->httpClient->postForm('https://api.sendgrid.com/api/mail.send.json', $payload);
$this->httpClient->postFormAsync('https://api.sendgrid.com/api/mail.send.json', $payload);
}

/**
Expand Down

0 comments on commit f7ff695

Please sign in to comment.