Touching up to missing sport of get_one returning multiple params

This commit is contained in:
John Westcott IV
2020-09-08 13:38:44 -04:00
parent c2cfaec7d1
commit 4c0e288fee
2 changed files with 3 additions and 3 deletions

View File

@@ -453,7 +453,7 @@ def main():
new_fields['inventory'] = module.resolve_name_to_id('inventories', inventory)
if project is not None:
if organization_id is not None:
project_data, project = module.get_one('projects', name_or_id=project, **{
project_data = module.get_one('projects', name_or_id=project, **{
'data': {
'organization': organization_id,
}