Skip to content

Commit

Permalink
fix: fix cron again (monicahq/chandler#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
djaiss authored and asbiin committed Mar 31, 2023
1 parent a949495 commit 1531d79
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ public function execute(array $data): void
if ($this->contactReminder->type !== ContactReminder::TYPE_ONE_TIME) {
$this->schedule();
} else {
$this->contactReminder->delete();
DB::table('contact_reminder_scheduled')
->where('id', $this->data['contact_reminder_scheduled_id'])
->delete();
}
}

Expand Down

0 comments on commit 1531d79

Please sign in to comment.