Skip to content

Commit

Permalink
fix tasks_type when registering
Browse files Browse the repository at this point in the history
  • Loading branch information
d2avids committed Jul 28, 2024
1 parent 23556b5 commit c585814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/users/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class UserCreateSerializer(serializers.ModelSerializer):

class Meta:
model = User
fields = ('email', 'password')
fields = ('email', 'password', 'tasks_type')

def create(self, validated_data):
return User.objects.create_user(**validated_data)
Expand Down

0 comments on commit c585814

Please sign in to comment.