diff --git a/hc/api/management/commands/sendalerts.py b/hc/api/management/commands/sendalerts.py index ac5e0fdf..f27f00bf 100644 --- a/hc/api/management/commands/sendalerts.py +++ b/hc/api/management/commands/sendalerts.py @@ -33,7 +33,7 @@ class Command(BaseCommand): # Gone up? query = Check.objects query = query.filter(alert_after__gt=timezone.now()) - query = query.filter(enabled=True, status="down") + query = query.filter(status="down") for check in query: check.status = "up" check.save()