mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2026-10-23 09:37:56 +00:00
Merge branch 'dev' into sprint2
This commit is contained in:
@@ -243,4 +243,4 @@ class GuardianProfileSerializer(serializers.ModelSerializer):
|
||||
fields = ['id', 'email', 'first_name', 'last_name', 'country_name','country_code', 'phone', 'gender', 'dob',
|
||||
'guardian_code', 'notification_count', 'total_count', 'complete_field_count', 'referral_code',
|
||||
'is_active', 'is_complete_profile', 'created_at', 'image', 'signup_method',
|
||||
'updated_at']
|
||||
'updated_at', 'passcode']
|
||||
|
||||
@@ -245,7 +245,7 @@ class JuniorProfileSerializer(serializers.ModelSerializer):
|
||||
fields = ['id', 'email', 'first_name', 'last_name', 'country_name', 'country_code', 'phone', 'gender', 'dob',
|
||||
'guardian_code', 'referral_code','is_active', 'is_complete_profile', 'created_at', 'image',
|
||||
'updated_at', 'notification_count', 'total_count', 'complete_field_count', 'signup_method',
|
||||
'is_invited']
|
||||
'is_invited', 'passcode']
|
||||
|
||||
class AddJuniorSerializer(serializers.ModelSerializer):
|
||||
"""Add junior serializer"""
|
||||
@@ -309,3 +309,4 @@ class RemoveJuniorSerializer(serializers.ModelSerializer):
|
||||
instance.guardian_code = '{}'
|
||||
instance.save()
|
||||
return instance
|
||||
|
||||
|
||||
Reference in New Issue
Block a user