Skip to content

Commit

Permalink
fix: updated notification pref version (#2210)
Browse files Browse the repository at this point in the history
  • Loading branch information
AhtishamShahid authored May 6, 2024
1 parent 8d2a572 commit 51d84c1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion openassessment/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Initialization Information for Open Assessment Module
"""

__version__ = '6.8.0'
__version__ = '6.9.0'
2 changes: 1 addition & 1 deletion openassessment/xblock/test/test_notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_send_staff_notification(self, mock_send_event):
self.assertEqual(notification_data.content_context['ora_name'], ora_name)
self.assertEqual(notification_data.notification_type, 'ora_staff_notification')
self.assertEqual(notification_data.content_url, f"/{problem_id}")
self.assertEqual(notification_data.app_name, "ora")
self.assertEqual(notification_data.app_name, "grading")
self.assertEqual(notification_data.audience_filters['course_roles'], ['staff', 'instructor'])

@patch('openassessment.xblock.utils.notifications.logger.error')
Expand Down
2 changes: 1 addition & 1 deletion openassessment/xblock/utils/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def send_staff_notification(course_id, problem_id, ora_name):
},
notification_type='ora_staff_notification',
content_url=f"{getattr(settings, 'ORA_GRADING_MICROFRONTEND_URL', '')}/{problem_id}",
app_name="ora",
app_name="grading",
audience_filters=audience_filters,
)
COURSE_NOTIFICATION_REQUESTED.send_event(course_notification_data=notification_data)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "edx-ora2",
"version": "6.8.0",
"version": "6.9.0",
"repository": "https://github.com/openedx/edx-ora2.git",
"dependencies": {
"@edx/frontend-build": "8.0.6",
Expand Down

0 comments on commit 51d84c1

Please sign in to comment.