From b4e5aad5ee347a4c839c0d706137f63ef97c1308 Mon Sep 17 00:00:00 2001 From: Braden MacDonald Date: Thu, 1 Aug 2024 15:17:45 -0700 Subject: [PATCH] fix: error when saving changes to a v2 library block --- openedx/core/djangoapps/xblock/rest_api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/xblock/rest_api/views.py b/openedx/core/djangoapps/xblock/rest_api/views.py index 501386efba38..8c2d16839a67 100644 --- a/openedx/core/djangoapps/xblock/rest_api/views.py +++ b/openedx/core/djangoapps/xblock/rest_api/views.py @@ -257,7 +257,7 @@ def post(self, request, usage_key_str): # Signal that we've modified this block context_impl = get_learning_context_impl(usage_key) - context_impl.send_updated_event(usage_key) + context_impl.send_block_updated_event(usage_key) return Response({ "id": str(block.location),