From e7b5b37e586f9e5578a49018f855583371994d19 Mon Sep 17 00:00:00 2001 From: rizwanisready Date: Mon, 27 May 2024 20:31:48 +0530 Subject: [PATCH] cron event bug solved --- manage_notifications/management/commands/interested_going.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/manage_notifications/management/commands/interested_going.py b/manage_notifications/management/commands/interested_going.py index 077d4d8..1d8ba6d 100644 --- a/manage_notifications/management/commands/interested_going.py +++ b/manage_notifications/management/commands/interested_going.py @@ -62,9 +62,7 @@ class Command(BaseCommand): event__deleted=False, event__active=True, event__created_by__is_active=True, - event__created_by__deleted=False, principal__is_active=True, - principal__deleted=False, status__in=[EventInteractionType.GOING, EventInteractionType.INTERESTED], principal__notifications_principal__notification_category=NotificationCategoryChoices.EVENT, principal__notifications_principal__is_enabled=True,