Skip to content

Commit

Permalink
Ensure we print the right field
Browse files Browse the repository at this point in the history
  • Loading branch information
ljstella committed Nov 6, 2024
1 parent 7f5319e commit 34ae585
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contentctl/actions/new_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ def buildDetection(self)->dict[str,Any]:
answers['date'] = datetime.today().strftime('%Y-%m-%d')
answers['author'] = answers['detection_author']
del answers['detection_author']
answers['data_sources'] = answers['data_source']
del answers['data_source']
answers['data_source'] = answers['data_source']
answers['type'] = answers['detection_type']
del answers['detection_type']
answers['status'] = "production" #start everything as production since that's what we INTEND the content to become
Expand Down

0 comments on commit 34ae585

Please sign in to comment.