fix tüpflischiiser
This commit is contained in:
parent
0adaedafb6
commit
c6ca532633
|
|
@ -77,9 +77,8 @@ class AddContentBlock(relay.ClientIDMutation):
|
|||
|
||||
title = content_block_data.get('title')
|
||||
contents = content_block_data.get('contents')
|
||||
block_type = content_block_data.get('type', ContentBlock.NORMAL)
|
||||
block_type = set_user_defined_block_type(content_block_data.get('type', ContentBlock.NORMAL))
|
||||
|
||||
block_type = set_user_defined_block_type(block_type)
|
||||
new_content_block = ContentBlock(title=title, user_created=True, owner=context.user, type=block_type)
|
||||
|
||||
if parent is not None:
|
||||
|
|
|
|||
Loading…
Reference in New Issue