Skip to content

Commit

Permalink
corrects users
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeynickulin-web committed Nov 13, 2022
1 parent be5350d commit e66df82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/serializers/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def create(self, validated_data):
email=validated_data['email'],
username=validated_data['username'],
first_name=validated_data['first_name'],
last_name=validated_data['first_name']
last_name=validated_data['last_name']
)
user.set_password(validated_data['password'])
user.save()
Expand Down

0 comments on commit e66df82

Please sign in to comment.