Skip to content
Snippets Groups Projects

Resolve "Add simple course book list"

Merged Hangzhi Yu requested to merge 256-add-simple-course-book-list into master
Compare and Show latest version
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -116,7 +116,7 @@ class DocumentationBatchPatchMutation(PermissionBatchPatchMixin, DjangoBatchPatc
permissions = ("alsijil.edit_documentation_rule",) # FIXME
class DocumentationInputType(graphene.ObjectType):
class DocumentationInputType(graphene.InputObjectType):
course = graphene.ID(required=False)
subject = graphene.ID(required=False)
@@ -130,7 +130,7 @@ class DocumentationCreateOrUpdateMutation(graphene.Mutation):
id = graphene.ID(required=True)
input = DocumentationInputType(required=False)
documentation = DocumentationType()
documentation = graphene.Field(DocumentationType)
@classmethod
def mutate(cls, root, info, id, input):
Loading