mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-16 02:16:16 +00:00
fixed guardian reject issue, updated ids in notification method, remove unnecessary condition from analytics and user management
This commit is contained in:
@ -115,8 +115,6 @@ class UserCSVReportSerializer(serializers.ModelSerializer):
|
||||
if profile := (obj.guardian_profile.all().first() or obj.junior_profile.all().first()):
|
||||
return f"+{profile.country_code}{profile.phone}" \
|
||||
if profile.country_code and profile.phone else profile.phone
|
||||
else:
|
||||
return None
|
||||
|
||||
@staticmethod
|
||||
def get_user_type(obj):
|
||||
|
Reference in New Issue
Block a user