mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for #625
This commit is contained in:
parent
175c685032
commit
feb62b1253
@ -61,8 +61,8 @@ class Mailer
|
|||||||
|
|
||||||
// Track the Postmark message id
|
// Track the Postmark message id
|
||||||
if (isset($_ENV['POSTMARK_API_TOKEN']) && $response) {
|
if (isset($_ENV['POSTMARK_API_TOKEN']) && $response) {
|
||||||
$json = $response->json();
|
$json = json_decode((string) $response->getBody());
|
||||||
$messageId = $json['MessageID'];
|
$messageId = $json->MessageID;
|
||||||
}
|
}
|
||||||
|
|
||||||
$invoice->markInvitationSent($invitation, $messageId);
|
$invoice->markInvitationSent($invitation, $messageId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user