Skip to content

Commit

Permalink
Merge pull request #1796 from adnankattekaden/dev
Browse files Browse the repository at this point in the history
user edit fix
  • Loading branch information
adnankattekaden authored Dec 11, 2023
2 parents a98514c + 59719a5 commit 0922c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/dashboard/user/dash_user_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class UserDetailsSerializer(serializers.ModelSerializer):
organizations = serializers.SerializerMethodField(read_only=True)
interest_groups = serializers.SerializerMethodField(read_only=True)
role = serializers.SerializerMethodField(read_only=True)
district = serializers.CharField(source="district.name", allow_null=True)
district = serializers.CharField(source="district.id", allow_null=True)

class Meta:
model = User
Expand Down

0 comments on commit 0922c7a

Please sign in to comment.