Skip to content

Commit

Permalink
fix: error when saving changes to a v2 library block
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Aug 1, 2024
1 parent 2788f2b commit b4e5aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/xblock/rest_api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit b4e5aad

Please sign in to comment.