Skip to content

Commit

Permalink
fix: resolved content issue in renamed notification (#35252)
Browse files Browse the repository at this point in the history
  • Loading branch information
AhtishamShahid authored Aug 8, 2024
1 parent 63f327b commit e7dbc48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openedx/core/djangoapps/notifications/base_notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,8 @@ def get_notification_content(notification_type, context):
'strong': 'strong',
'p': 'p',
}
if notification_type == 'course_update':
notification_type = 'course_updates'
notification_type = NotificationTypeManager().notification_types.get(notification_type, None)
if notification_type:
notification_type_content_template = notification_type.get('content_template', None)
Expand Down

0 comments on commit e7dbc48

Please sign in to comment.