mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 20:50:06 -03:30
Fixing name -> username
This commit is contained in:
@@ -143,7 +143,7 @@ def main():
|
|||||||
# Create the data that gets sent for create and update
|
# Create the data that gets sent for create and update
|
||||||
new_fields = {}
|
new_fields = {}
|
||||||
if username:
|
if username:
|
||||||
new_fields['username'] = module.get_item_name(existing_item) if existing_item else name
|
new_fields['username'] = module.get_item_name(existing_item) if existing_item else username
|
||||||
if first_name:
|
if first_name:
|
||||||
new_fields['first_name'] = first_name
|
new_fields['first_name'] = first_name
|
||||||
if last_name:
|
if last_name:
|
||||||
|
|||||||
Reference in New Issue
Block a user