Merge pull request #27422 from edx/mikix/handler-will-recheck-access

fix: the get_completion JS handler should not ignore FBE blocks
This commit is contained in:
Michael Terry
2021-05-04 15:54:36 -04:00
committed by GitHub
9 changed files with 210 additions and 111 deletions

View File

@@ -523,7 +523,7 @@ class SequenceMetadata(DeveloperErrorViewMixin, APIView):
if request.user.is_anonymous:
view = PUBLIC_VIEW
return Response(json.loads(sequence.handle_ajax('metadata', None, view=view)))
return Response(sequence.get_metadata(view=view))
class Resume(DeveloperErrorViewMixin, APIView):