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,