Skip to content

Commit

Permalink
Fix base class for account-level notifications (#1916)
Browse files Browse the repository at this point in the history
  • Loading branch information
jace authored Oct 30, 2023
1 parent 564f728 commit 74b1893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions funnel/models/notification_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ class RegistrationReceivedNotification(


class OrganizationAdminMembershipNotification(
DocumentHasAccount,
DocumentIsAccount,
Notification[Account, AccountMembership],
type='organization_membership_granted',
):
Expand All @@ -263,7 +263,7 @@ class OrganizationAdminMembershipNotification(


class OrganizationAdminMembershipRevokedNotification(
DocumentHasAccount,
DocumentIsAccount,
Notification[Account, AccountMembership],
type='organization_membership_revoked',
shadows=OrganizationAdminMembershipNotification,
Expand Down

0 comments on commit 74b1893

Please sign in to comment.