Skip to content

Commit

Permalink
fix upsert users (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
Findeton authored Jun 3, 2022
1 parent 9193d9d commit f55d138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam/api/management/commands/upsert_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def handle(self, *args, **kwargs):
))
continue
else:
db_user = User.objects.create_user(kwargs)
db_user = User.objects.create_user(**kwargs)
else:
if create_only:
print("Error: user with id %s does not exist" % user_id)
Expand Down

0 comments on commit f55d138

Please sign in to comment.