Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vapao committed Jul 12, 2021
1 parent 5a378c8 commit 54c1ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spug_api/apps/account/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def post(self, request):
if form.id:
User.objects.filter(pk=form.id).update(**form)
else:
User.objects.create(
user = User.objects.create(
password_hash=User.make_password(password),
created_by=request.user,
**form
Expand Down

0 comments on commit 54c1ee3

Please sign in to comment.