Fix call to send_expiry_notification after cleanup
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user