1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Types for postmark responses

This commit is contained in:
David Bomba 2023-11-19 13:47:22 +11:00
parent c817b7b937
commit 7553e9766b

View File

@ -384,6 +384,7 @@ class ClientController extends BaseController
try {
/** @var \Postmark\Models\DynamicResponseModel $response */
$response = $postmark->activateBounce((int)$bounce_id);
if($response && $response?->Message == 'OK' && !$response->Bounce->Inactive && $response->Bounce->Email){