Skip to content

Commit

Permalink
Fixes for removing reactivate email
Browse files Browse the repository at this point in the history
  • Loading branch information
turbo124 committed Jan 15, 2025
1 parent 587b4e1 commit cd7866e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/Http/Controllers/ClientController.php
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,18 @@ public function reactivateEmail(ReactivateClientEmailRequest $request, string $b

$record = $log->log;
$record['ID'] = '';

//2025-01-15 15:00:00 - unset the bounce ID here.
$events = $record['history']['events'];

foreach($events as &$event)
{
$event['bounce_id'] = "";
}
unset($event);

$record['history']['events'] = $events;

$log->log = $record;
$log->save();

Expand Down

0 comments on commit cd7866e

Please sign in to comment.