Merge pull request #29 from WDI-Ideas/development

cron event bug solved
This commit is contained in:
rizwanisready
2024-05-27 20:33:04 +05:30
committed by GitHub

View File

@@ -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,