Skip to content

Commit

Permalink
membership-request [inveniosoftware#855]: configure notification buil…
Browse files Browse the repository at this point in the history
…ders
  • Loading branch information
fenekku committed Jul 26, 2024
1 parent 3027ff3 commit e214755
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions invenio_app_rdm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@
CommunityInvitationDeclineNotificationBuilder,
CommunityInvitationExpireNotificationBuilder,
CommunityInvitationSubmittedNotificationBuilder,
CommunityMembershipRequestAcceptNotificationBuilder,
CommunityMembershipRequestCancelNotificationBuilder,
CommunityMembershipRequestDeclineNotificationBuilder,
CommunityMembershipRequestExpireNotificationBuilder,
CommunityMembershipRequestSubmittedNotificationBuilder,
)
from invenio_notifications.backends import EmailNotificationBackend
from invenio_rdm_records.notifications.builders import (
Expand Down Expand Up @@ -1250,6 +1255,12 @@ def github_link_render(record):
CommunityInvitationDeclineNotificationBuilder.type: CommunityInvitationDeclineNotificationBuilder,
CommunityInvitationExpireNotificationBuilder.type: CommunityInvitationExpireNotificationBuilder,
CommunityInvitationSubmittedNotificationBuilder.type: CommunityInvitationSubmittedNotificationBuilder,
# Community membership request
CommunityMembershipRequestAcceptNotificationBuilder.type: CommunityMembershipRequestAcceptNotificationBuilder,
CommunityMembershipRequestCancelNotificationBuilder.type: CommunityMembershipRequestCancelNotificationBuilder,
CommunityMembershipRequestDeclineNotificationBuilder.type: CommunityMembershipRequestDeclineNotificationBuilder,
CommunityMembershipRequestExpireNotificationBuilder.type: CommunityMembershipRequestExpireNotificationBuilder,
CommunityMembershipRequestSubmittedNotificationBuilder.type: CommunityMembershipRequestSubmittedNotificationBuilder,
}
"""Notification builders."""

Expand Down

0 comments on commit e214755

Please sign in to comment.