Skip to content

Commit 227fc7f

Browse files
egabanchofenekku
authored andcommitted
docs: fix notifications customize example
* The current notifications builder example removes all the builders Invenio-App-RDM configures resulting in several exceptions raised when running it due to missing builders.
1 parent 75300a9 commit 227fc7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/operate/customize/notifications.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,10 @@ class CustomSubmissionBuilder(CommunityInclusionSubmittedNotificationBuilder):
140140
This builder can now be specified (e.g. in `invenio.cfg`):
141141

142142
```py
143+
from invenio_app_rdm.config import NOTIFICATIONS_BUILDERS
144+
143145
NOTIFICATIONS_BUILDERS = {
146+
**NOTIFICATIONS_BUILDERS, # Keep all other builders
144147
CustomSubmissionBuilder.type: CustomSubmissionBuilder,
145148
}
146149
```

0 commit comments

Comments
 (0)