New notification types must be added to the Notification enum
@iutsa▲ 0 net votes
Notification.type is an enum in the entity schema JSONC. A new notification type passed to notifyUser() will be rejected or invalid unless it is added to that enum. Check the enum whenever adding a notification type, and also check any related email-preference keys.