summaryrefslogtreecommitdiff
path: root/src/Model/Event/SendUnits.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model/Event/SendUnits.php')
-rw-r--r--src/Model/Event/SendUnits.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Model/Event/SendUnits.php b/src/Model/Event/SendUnits.php
index c9afd6e..1b04333 100644
--- a/src/Model/Event/SendUnits.php
+++ b/src/Model/Event/SendUnits.php
@@ -104,7 +104,7 @@ class SendUnits extends BaseEvent
public function cancel(): void
{
- $this->event = $this->getEvent();
+ $this->populateEvent();
$cancelTimeDiff = $this->event->createdAt->diff(new \DateTime());
$cancelTime = (new \DateTime())->add($cancelTimeDiff);