Skip to content

Commit

Permalink
fix: resolved key error (#34608)
Browse files Browse the repository at this point in the history
  • Loading branch information
AhtishamShahid authored Apr 24, 2024
1 parent d90bdba commit e76fee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/notifications/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def generate_course_notifications(signal, sender, course_notification_data, meta
"""
if (
course_notification_data.notification_type == 'ora_staff_notification'
and not ENABLE_ORA_STAFF_NOTIFICATION.is_enabled(course_notification_data['course_key'])
and not ENABLE_ORA_STAFF_NOTIFICATION.is_enabled(course_notification_data.course_key)
):
return

Expand Down

0 comments on commit e76fee1

Please sign in to comment.