Do not include path or display name in the XBlockService cache.

This commit is contained in:
Usman Khalid
2015-07-02 00:07:11 +05:00
committed by muzaffaryousaf
parent fcbe595c8a
commit 778b921c41

View File

@@ -50,7 +50,7 @@ class BookmarksService(object):
bookmarks_cache = RequestCache.get_request_cache().data.get(cache_key, None)
if bookmarks_cache is None and fetch is True:
bookmarks_cache = api.get_bookmarks(
self._user, course_key=course_key, fields=DEFAULT_FIELDS + OPTIONAL_FIELDS
self._user, course_key=course_key, fields=DEFAULT_FIELDS
)
RequestCache.get_request_cache().data[cache_key] = bookmarks_cache