diff --git a/cms/djangoapps/contentstore/utils.py b/cms/djangoapps/contentstore/utils.py index 82269214af69..c86accc22fb6 100644 --- a/cms/djangoapps/contentstore/utils.py +++ b/cms/djangoapps/contentstore/utils.py @@ -2326,7 +2326,7 @@ def get_xblock_render_context(request, block): def get_cms_api_client(): """ - Returns an API client which can be used to make Exams API requests. + Returns an API client which can be used to make requests from the CMS service. """ user = User.objects.get(username=settings.EDXAPP_CMS_SERVICE_USER_NAME) jwt = create_jwt_for_user(user) diff --git a/openedx/features/offline_mode/constants.py b/openedx/features/offline_mode/constants.py index 401d84d0a271..d6253ff35150 100644 --- a/openedx/features/offline_mode/constants.py +++ b/openedx/features/offline_mode/constants.py @@ -9,5 +9,5 @@ MATHJAX_CDN_URL = f'https://cdn.jsdelivr.net/npm/mathjax@{MATHJAX_VERSION}/MathJax.js' MATHJAX_STATIC_PATH = os.path.join('assets', 'js', f'MathJax-{MATHJAX_VERSION}.js') -DEFAULT_OFFLINE_SUPPORTED_XBLOCKS = ['html'] +DEFAULT_OFFLINE_SUPPORTED_XBLOCKS = ['html', 'problem'] OFFLINE_SUPPORTED_XBLOCKS = getattr(settings, 'OFFLINE_SUPPORTED_XBLOCKS', DEFAULT_OFFLINE_SUPPORTED_XBLOCKS)