Updating call to create_or_update_if_needed

This commit is contained in:
John Westcott IV 2020-01-29 09:54:35 -05:00 committed by beeankha
parent 9271127c53
commit 89e92bd337

View File

@ -113,7 +113,7 @@ def main():
module.delete_if_needed(team)
elif state == 'present':
# If the state was present we can let the module build or update the existing team, this will return on its own
module.create_or_update_if_needed(team, team_fields, item_type='team'})
module.create_or_update_if_needed(team, team_fields, endpoint='teams', item_type='team')
if __name__ == '__main__':