From 74b1893aea4458c41bb102caa8e7ca64a7aef583 Mon Sep 17 00:00:00 2001 From: Kiran Jonnalagadda Date: Mon, 30 Oct 2023 11:37:28 +0530 Subject: [PATCH] Fix base class for account-level notifications (#1916) --- 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,