diff --git a/server/notes/schema.py b/server/notes/schema.py index 17afc440..f57d215f 100644 --- a/server/notes/schema.py +++ b/server/notes/schema.py @@ -41,7 +41,7 @@ def find_content(content_list, bookmark): if content is None: return '' if content['type'] in ['text_block', 'subtitle', 'solution', 'basic_knowledge']: - return content['value']['text'] + return content['value'].get('text', '') return content_dict.get(content['type'], '') class NoteNode(DjangoObjectType):