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
|
||||
if (isset($_ENV['POSTMARK_API_TOKEN']) && $response) {
|
||||
$json = $response->json();
|
||||
$messageId = $json['MessageID'];
|
||||
$json = json_decode((string) $response->getBody());
|
||||
$messageId = $json->MessageID;
|
||||
}
|
||||
|
||||
$invoice->markInvitationSent($invitation, $messageId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user