From 59514f49b9ad628f558591fd25bb21baeecfe7ec Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 3 Jan 2024 22:10:02 +1100 Subject: [PATCH] ensure numbers are set --- app/Services/Scheduler/EmailRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Scheduler/EmailRecord.php b/app/Services/Scheduler/EmailRecord.php index 9c0b498bb3c3..d344b1c7c542 100644 --- a/app/Services/Scheduler/EmailRecord.php +++ b/app/Services/Scheduler/EmailRecord.php @@ -30,7 +30,7 @@ class EmailRecord $entity = $class::find($this->decodePrimaryKey($this->scheduler->parameters['entity_id'])); if($entity) { - $entity->service()->sendEmail(); + $entity->service()->markSent()->sendEmail(); } $this->scheduler->forceDelete();