From 9b00e140171d3f65fefcd7b5b1ce125866f3f44d Mon Sep 17 00:00:00 2001 From: Peter Sasburg Date: Tue, 18 Jun 2024 17:43:58 +0200 Subject: [PATCH] Bugfix prunable --- src/Models/Email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/Email.php b/src/Models/Email.php index 295885c..d3cbf3d 100644 --- a/src/Models/Email.php +++ b/src/Models/Email.php @@ -100,7 +100,7 @@ public static function boot() public function prunable() { - return static::where('created_at', '<=', now())->subDays(config('filament-email.keep_email_for_days', 60)); + return static::where('created_at', '<=', now()->subDays(config('filament-email.keep_email_for_days', 60))); } private function getTableColumns()