Skip to content

Commit

Permalink
fix: [investigation] add object with spaces in id to an investigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Dec 11, 2024
1 parent 9f90344 commit f4584f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/lib/Investigations.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ def api_register_object(user_org, user_id, user_role, json_dict):
subtype = json_dict.get('subtype', '')
if subtype == 'None':
subtype = ''
obj_id = json_dict.get('id', '').replace(' ', '')
obj_id = json_dict.get('id', '').rstrip()

comment = json_dict.get('comment', '')
# if comment:
Expand Down

0 comments on commit f4584f7

Please sign in to comment.