From bd26e8679e5b710221504dfb41b94d204496fde8 Mon Sep 17 00:00:00 2001 From: Kiran Jonnalagadda Date: Sat, 28 Oct 2023 08:39:56 +0530 Subject: [PATCH] Fix base class for account-level notifications --- funnel/models/notification_types.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funnel/models/notification_types.py b/funnel/models/notification_types.py index a8fc70102..ca11d5a04 100644 --- a/funnel/models/notification_types.py +++ b/funnel/models/notification_types.py @@ -248,7 +248,7 @@ class RegistrationReceivedNotification( class OrganizationAdminMembershipNotification( - DocumentHasAccount, + DocumentIsAccount, Notification[Account, AccountMembership], type='organization_membership_granted', ): @@ -263,7 +263,7 @@ class OrganizationAdminMembershipNotification( class OrganizationAdminMembershipRevokedNotification( - DocumentHasAccount, + DocumentIsAccount, Notification[Account, AccountMembership], type='organization_membership_revoked', shadows=OrganizationAdminMembershipNotification,