Add cms_block to uitls mutations

This commit is contained in:
Lorenz Padberg 2022-07-25 16:23:59 +02:00
parent 7c959fd018
commit 08970ff780
3 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@ -47,3 +47,4 @@ server/media/
# test reports
client/cypress/test-reports/
server/test-reports/
.direnv

View File

@ -12,7 +12,7 @@ class InputTypes(graphene.Enum):
video_block = 'video_block'
document_block = 'document_block'
content_list_item = 'content_list_item'
subtitle= 'subtitle'
subtitle = 'subtitle'
class ContentElementValueInput(InputObjectType):

View File

@ -40,7 +40,8 @@ ALLOWED_BLOCKS = (
'assignment',
'document_block',
'content_list_item',
'subtitle'
'subtitle',
'cms_document_block'
)