Skip to content

Commit

Permalink
Merge pull request #953 from dbarzin/dev
Browse files Browse the repository at this point in the history
invalid test
  • Loading branch information
dbarzin authored Nov 11, 2024
2 parents 2510770 + 18da7fb commit 78c4800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/CertificateExpiracy.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function handle()
$cert->save();
} elseif (
Carbon::createFromFormat(config('panel.date_format') . ' ' . config('panel.time_format'), $cert->last_notification)
->lessThan(
->greaterThan(
now()->addDays(-intval(config('mercator-config.cert.expire-delay'))))
) {
Log::debug('CertificateExpiracy - ' . $cert->name . ' already notified on ' . $cert->last_notification);
Expand Down

0 comments on commit 78c4800

Please sign in to comment.