From 8aac664e6758e63122a1537d1d31f2f6fada167b Mon Sep 17 00:00:00 2001 From: Braden MacDonald Date: Mon, 5 Aug 2024 12:00:14 -0700 Subject: [PATCH] fix: error when saving changes to a v2 library block (#35217) --- 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 501386efba..8c2d16839a 100644 --- a/openedx/core/djangoapps/xblock/rest_api/views.py +++ b/openedx/core/djangoapps/xblock/rest_api/views.py @@ -257,7 +257,7 @@ class BlockFieldsView(APIView): # 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),