Merge pull request #28 from WDI-Ideas/development

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

View File

@@ -66,4 +66,6 @@ class Command(BaseCommand):
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,
).select_related("principal", "event")