mirror of
https://github.com/ail-project/ail-framework.git
synced 2025-01-18 16:36:13 +00:00
fix: [investigation] add object with spaces in id to an investigation
This commit is contained in:
parent
9f90344fad
commit
f4584f7e98
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue