Skip to content

Commit

Permalink
Fixed minor bug in story creation
Browse files Browse the repository at this point in the history
  • Loading branch information
pyth0n1c authored Feb 12, 2024
1 parent 923e44c commit cb6605e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contentctl/input/new_content_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ def execute(self, input_dto: NewContentGeneratorInputDto) -> None:

elif input_dto.type == SecurityContentType.stories:
questions = NewContentQuestions.get_questions_story()
self.output_dto.answers=answers
answers = questionary.prompt(questions)
self.output_dto.answers.update(answers)
self.output_dto.obj['name'] = answers['story_name']
self.output_dto.obj['id'] = str(uuid.uuid4())
self.output_dto.obj['version'] = 1
Expand Down

0 comments on commit cb6605e

Please sign in to comment.