Fix call to send_expiry_notification after cleanup

This commit is contained in:
2026-02-05 22:25:47 +01:00
parent acd16b4a82
commit 5b51a8a153

View File

@@ -129,8 +129,8 @@ def cleanup_expired(app, start_time=None):
app.email_service.send_expiry_notification( app.email_service.send_expiry_notification(
hostname.user.email, hostname.user.email,
hostname, hostname,
hostname.last_ipv4 == old_ipv4, ipv4_expired,
hostname.last_ipv6 == old_ipv6 ipv6_expired
) )
expired_count += 1 expired_count += 1