change two api

This commit is contained in:
behruz-dev
2025-12-03 13:42:06 +05:00
parent 9890bbea8e
commit 1fa76dad96
3 changed files with 12 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ class UserSerializer(serializers.ModelSerializer):
class Meta:
model = User
fields = [
'id', 'phone', 'indentification_num', 'profile_image', 'first_name', 'last_name', 'email'
'id', 'phone', 'indentification_num', 'profile_image', 'first_name', 'last_name', 'email', 'role'
]